Home
last modified time | relevance | path

Searched refs:block_type (Results 1 – 3 of 3) sorted by relevance

/optee_os-3.20.0/core/lib/libtomcrypt/src/pk/pkcs1/
A Dpkcs_1_v1_5_encode.c27 int block_type, in pkcs_1_v1_5_encode() argument
39 if ((block_type != LTC_PKCS_1_EMSA) && in pkcs_1_v1_5_encode()
40 (block_type != LTC_PKCS_1_EME)) { in pkcs_1_v1_5_encode()
44 if (block_type == LTC_PKCS_1_EME) { /* encryption padding, we need a valid PRNG */ in pkcs_1_v1_5_encode()
67 if (block_type == LTC_PKCS_1_EME) { in pkcs_1_v1_5_encode()
89 out[1] = (unsigned char)block_type; /* block_type 1 or 2 */ in pkcs_1_v1_5_encode()
A Dpkcs_1_v1_5_decode.c26 int block_type, in pkcs_1_v1_5_decode() argument
50 if ((msg[0] != 0x00) || (msg[1] != (unsigned char)block_type)) { in pkcs_1_v1_5_decode()
54 if (block_type == LTC_PKCS_1_EME) { in pkcs_1_v1_5_decode()
/optee_os-3.20.0/core/lib/libtomcrypt/src/headers/
A Dtomcrypt_pkcs.h33 int block_type,
42 int block_type,

Completed in 3 milliseconds