Searched refs:block_type (Results 1 – 3 of 3) sorted by relevance
27 int block_type, in pkcs_1_v1_5_encode() argument39 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()
26 int block_type, in pkcs_1_v1_5_decode() argument50 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()
33 int block_type,42 int block_type,
Completed in 3 milliseconds