Welcome to mirror list, hosted at ThFree Co, Russian Federation.

ciphertext.c « Src « PKA_ModularExponentiationCRT « PKA « Examples « P-NUCLEO-WB55.Nucleo « Projects - github.com/Flipper-Zero/STM32CubeWB.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 17a9547b537231fb980b08725cac11203455c004 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
/**
  ******************************************************************************
  * @file    PKA/PKA_ModularExponentiationCRT/Src/ciphertext.c
  * @author  MCD Application Team
  * @brief   This file reflect the content of ciphertext.bin.
  *          It has been created using xxd external tool in version V1.10 27oct98.
  *          Command line: 
  *            xxd -i ciphertext.bin
  *          Additional modification for easier usage:
  *           Replaced unsigned char by const uint8_t
  *           Replaced unsigned int by const uin32_t
  ******************************************************************************
  * @attention
  *
  * Copyright (c) 2019-2021 STMicroelectronics.
  * All rights reserved.
  *
  * This software is licensed under terms that can be found in the LICENSE file
  * in the root directory of this software component.
  * If no LICENSE file comes with this software, it is provided AS-IS.
  *
  ******************************************************************************
  */
  
/* Includes ------------------------------------------------------------------*/
#include "main.h"
/*
This file reflect the content of ciphertext.bin

ciphertext.bin has been created using openssl 1.0.2k  26 Jan 2017:
  openssl rsautl -pubin -raw -inkey rsa_pub_2048.pem -encrypt -in plaintext.bin -out ciphertext.bin
*/

const uint8_t ciphertext_bin[] = {
  0x2e, 0x38, 0x2e, 0x62, 0x58, 0xce, 0x80, 0x3e, 0x16, 0x73, 0x53, 0xce,
  0x36, 0x4b, 0x0d, 0x8b, 0xe1, 0xd9, 0x68, 0xbb, 0x8c, 0x69, 0x13, 0xfc,
  0x9e, 0x5e, 0x43, 0x56, 0x21, 0xb1, 0x32, 0xf5, 0xb1, 0x9e, 0xb2, 0xad,
  0xf5, 0xc4, 0x2e, 0x14, 0xfc, 0x94,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xa6, 0x6c, 0x58, 0xe8, 0x4b,
  0xb2, 0xcf, 0x18, 0x7d, 0x2e, 0xd8, 0xcc, 0xa1, 0xae, 0xc9, 0x0d, 0xba,
  0xe0, 0xbf, 0x2c, 0x4e, 0x48, 0xfc, 0x09, 0x92, 0xe1, 0x17, 0x04, 0x92,
  0x85, 0xeb, 0xae, 0x23
};
const uint32_t ciphertext_bin_len = 256;