Home
last modified time | relevance | path

Searched refs:CRYPT_INVALID_PACKET (Results 1 – 25 of 49) sorted by relevance

12

/optee_os-3.20.0/core/lib/libtomcrypt/src/misc/padding/
A Dpadding_depad.c48 if (data[n] != pad) return CRYPT_INVALID_PACKET; in padding_depad()
59 if (data[n] != pad++) return CRYPT_INVALID_PACKET; in padding_depad()
64 if (data[unpadded_length - 1] != 0x0) return CRYPT_INVALID_PACKET; in padding_depad()
67 if (unpadded_length == 0) return CRYPT_INVALID_PACKET; in padding_depad()
69 if (data[unpadded_length] != 0x80) return CRYPT_INVALID_PACKET; in padding_depad()
77 if (unpadded_length == padded_length) return CRYPT_INVALID_PACKET; in padding_depad()
78 if (data[unpadded_length] != 0x0) return CRYPT_INVALID_PACKET; in padding_depad()
/optee_os-3.20.0/core/lib/libtomcrypt/src/pk/asn1/der/utf8/
A Dder_decode_utf8_string.c34 return CRYPT_INVALID_PACKET; in der_decode_utf8_string()
39 return CRYPT_INVALID_PACKET; in der_decode_utf8_string()
51 return CRYPT_INVALID_PACKET; in der_decode_utf8_string()
81 return CRYPT_INVALID_PACKET; in der_decode_utf8_string()
91 return CRYPT_INVALID_PACKET; in der_decode_utf8_string()
97 return CRYPT_INVALID_PACKET; in der_decode_utf8_string()
/optee_os-3.20.0/core/lib/libtomcrypt/src/misc/base16/
A Dbase16_decode.c44 if ((inlen % 2) == 1) return CRYPT_INVALID_PACKET; in base16_decode()
50 if ((in0 < '0') || (in0 > 'g')) return CRYPT_INVALID_PACKET; in base16_decode()
51 if ((in1 < '0') || (in1 > 'g')) return CRYPT_INVALID_PACKET; in base16_decode()
56 if (hashmap[idx0] == 0xff) return CRYPT_INVALID_PACKET; in base16_decode()
57 if (hashmap[idx1] == 0xff) return CRYPT_INVALID_PACKET; in base16_decode()
/optee_os-3.20.0/core/lib/libtomcrypt/src/pk/asn1/der/generalizedtime/
A Dder_decode_generalizedtime.c32 if (y >= max) return CRYPT_INVALID_PACKET; \
38 if (y >= max) return CRYPT_INVALID_PACKET; \
62 return CRYPT_INVALID_PACKET; in der_decode_generalizedtime()
69 return CRYPT_INVALID_PACKET; in der_decode_generalizedtime()
74 return CRYPT_INVALID_PACKET; in der_decode_generalizedtime()
81 return CRYPT_INVALID_PACKET; in der_decode_generalizedtime()
114 if (x >= sizeof(buf)) return CRYPT_INVALID_PACKET; in der_decode_generalizedtime()
132 return CRYPT_INVALID_PACKET; in der_decode_generalizedtime()
/optee_os-3.20.0/core/lib/libtomcrypt/src/pk/pkcs1/
A Dpkcs_1_v1_5_decode.c51 result = CRYPT_INVALID_PACKET; in pkcs_1_v1_5_decode()
64 result = CRYPT_INVALID_PACKET; in pkcs_1_v1_5_decode()
74 result = CRYPT_INVALID_PACKET; in pkcs_1_v1_5_decode()
84 result = CRYPT_INVALID_PACKET; in pkcs_1_v1_5_decode()
88 result = CRYPT_INVALID_PACKET; in pkcs_1_v1_5_decode()
A Dpkcs_1_oaep_decode.c84 ret = CRYPT_INVALID_PACKET; in pkcs_1_oaep_decode()
133 ret = CRYPT_INVALID_PACKET; in pkcs_1_oaep_decode()
143 ret = CRYPT_INVALID_PACKET; in pkcs_1_oaep_decode()
148 ret = CRYPT_INVALID_PACKET; in pkcs_1_oaep_decode()
A Dpkcs_1_pss_decode.c79 err = CRYPT_INVALID_PACKET; in pkcs_1_pss_decode()
94 err = CRYPT_INVALID_PACKET; in pkcs_1_pss_decode()
116 err = CRYPT_INVALID_PACKET; in pkcs_1_pss_decode()
123 err = CRYPT_INVALID_PACKET; in pkcs_1_pss_decode()
/optee_os-3.20.0/core/lib/libtomcrypt/src/pk/asn1/der/short_integer/
A Dder_decode_short_integer.c29 return CRYPT_INVALID_PACKET; in der_decode_short_integer()
35 return CRYPT_INVALID_PACKET; in der_decode_short_integer()
42 return CRYPT_INVALID_PACKET; in der_decode_short_integer()
/optee_os-3.20.0/core/lib/libtomcrypt/src/pk/asn1/der/octet/
A Dder_decode_octet_string.c33 return CRYPT_INVALID_PACKET; in der_decode_octet_string()
38 return CRYPT_INVALID_PACKET; in der_decode_octet_string()
56 return CRYPT_INVALID_PACKET; in der_decode_octet_string()
/optee_os-3.20.0/core/lib/libtomcrypt/src/pk/asn1/der/printable_string/
A Dder_decode_printable_string.c33 return CRYPT_INVALID_PACKET; in der_decode_printable_string()
38 return CRYPT_INVALID_PACKET; in der_decode_printable_string()
56 return CRYPT_INVALID_PACKET; in der_decode_printable_string()
/optee_os-3.20.0/core/lib/libtomcrypt/src/pk/asn1/der/teletex_string/
A Dder_decode_teletex_string.c32 return CRYPT_INVALID_PACKET; in der_decode_teletex_string()
37 return CRYPT_INVALID_PACKET; in der_decode_teletex_string()
55 return CRYPT_INVALID_PACKET; in der_decode_teletex_string()
/optee_os-3.20.0/core/lib/libtomcrypt/src/pk/asn1/der/ia5/
A Dder_decode_ia5_string.c33 return CRYPT_INVALID_PACKET; in der_decode_ia5_string()
38 return CRYPT_INVALID_PACKET; in der_decode_ia5_string()
56 return CRYPT_INVALID_PACKET; in der_decode_ia5_string()
/optee_os-3.20.0/core/lib/libtomcrypt/src/misc/base64/
A Dbase64_decode.c102 return CRYPT_INVALID_PACKET; in s_base64_decode_internal()
110 return CRYPT_INVALID_PACKET; in s_base64_decode_internal()
114 return CRYPT_INVALID_PACKET; in s_base64_decode_internal()
129 if (y == 1) return CRYPT_INVALID_PACKET; in s_base64_decode_internal()
130 if (((y + g) != 4) && (mode == strict) && (map != map_base64url)) return CRYPT_INVALID_PACKET; in s_base64_decode_internal()
/optee_os-3.20.0/core/lib/libtomcrypt/src/pk/asn1/der/utctime/
A Dder_decode_utctime.c31 if (y >= max) return CRYPT_INVALID_PACKET; \
54 return CRYPT_INVALID_PACKET; in der_decode_utctime()
61 return CRYPT_INVALID_PACKET; in der_decode_utctime()
113 return CRYPT_INVALID_PACKET; in der_decode_utctime()
/optee_os-3.20.0/core/lib/libtomcrypt/src/pk/asn1/der/object_identifier/
A Dder_decode_object_identifier.c31 return CRYPT_INVALID_PACKET; in der_decode_object_identifier()
43 return CRYPT_INVALID_PACKET; in der_decode_object_identifier()
54 return CRYPT_INVALID_PACKET; in der_decode_object_identifier()
/optee_os-3.20.0/core/lib/libtomcrypt/src/pk/asn1/der/custom_type/
A Dder_decode_custom_type.c58 return CRYPT_INVALID_PACKET; in der_decode_custom_type_ex()
67 return CRYPT_INVALID_PACKET; in der_decode_custom_type_ex()
72 return CRYPT_INVALID_PACKET; in der_decode_custom_type_ex()
93 err = CRYPT_INVALID_PACKET; in der_decode_custom_type_ex()
105 err = CRYPT_INVALID_PACKET; in der_decode_custom_type_ex()
127 err = CRYPT_INVALID_PACKET; in der_decode_custom_type_ex()
247 err = CRYPT_INVALID_PACKET; in der_decode_custom_type_ex()
344 err = CRYPT_INVALID_PACKET; in der_decode_custom_type_ex()
403 err = CRYPT_INVALID_PACKET; in der_decode_custom_type_ex()
415 err = CRYPT_INVALID_PACKET; in der_decode_custom_type_ex()
/optee_os-3.20.0/core/lib/libtomcrypt/src/pk/asn1/der/integer/
A Dder_decode_integer.c30 return CRYPT_INVALID_PACKET; in der_decode_integer()
36 return CRYPT_INVALID_PACKET; in der_decode_integer()
/optee_os-3.20.0/core/lib/libtomcrypt/src/pk/asn1/der/bit/
A Dder_decode_bit_string.c38 return CRYPT_INVALID_PACKET; in der_decode_bit_string()
52 return CRYPT_INVALID_PACKET; in der_decode_bit_string()
A Dder_decode_raw_bit_string.c41 return CRYPT_INVALID_PACKET; in der_decode_raw_bit_string()
55 return CRYPT_INVALID_PACKET; in der_decode_raw_bit_string()
/optee_os-3.20.0/core/lib/libtomcrypt/src/pk/ecc/
A Decc_import_pkcs8.c24 return CRYPT_INVALID_PACKET; in s_der_flexi_sequence_cmp()
29 return CRYPT_INVALID_PACKET; in s_der_flexi_sequence_cmp()
151 err = CRYPT_INVALID_PACKET; in ecc_import_pkcs8()
163 err = CRYPT_INVALID_PACKET; in ecc_import_pkcs8()
174 err = CRYPT_INVALID_PACKET; in ecc_import_pkcs8()
A Decc_set_key.c27 err = CRYPT_INVALID_PACKET; in ecc_set_key()
39 err = CRYPT_INVALID_PACKET; in ecc_set_key()
/optee_os-3.20.0/core/lib/libtomcrypt/src/misc/base32/
A Dbase32_decode.c79 return CRYPT_INVALID_PACKET; in base32_decode()
88 return CRYPT_INVALID_PACKET; in base32_decode()
/optee_os-3.20.0/core/lib/libtomcrypt/src/pk/dsa/
A Ddsa_import.c70 err = CRYPT_INVALID_PACKET; in dsa_import()
125 err = CRYPT_INVALID_PACKET; in dsa_import()
133 err = CRYPT_INVALID_PACKET; in dsa_import()
/optee_os-3.20.0/core/lib/libtomcrypt/src/pk/dh/
A Ddh_import.c68 err = CRYPT_INVALID_PACKET; in dh_import()
73 err = CRYPT_INVALID_PACKET; in dh_import()
/optee_os-3.20.0/core/lib/libtomcrypt/src/misc/pbes/
A Dpbes2.c95 return CRYPT_INVALID_PACKET; in pbes2_extract()
123 return CRYPT_INVALID_PACKET; in pbes2_extract()
191 return CRYPT_INVALID_PACKET; in pbes2_extract()

Completed in 18 milliseconds

12