Home
last modified time | relevance | path

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

12

/optee_os/core/lib/libtomcrypt/src/pk/asn1/der/generalizedtime/
A Dder_decode_generalizedtime.c39 if (y >= max) return CRYPT_INVALID_PACKET; \
45 if (y >= max) return CRYPT_INVALID_PACKET; \
69 return CRYPT_INVALID_PACKET; in der_decode_generalizedtime()
76 return CRYPT_INVALID_PACKET; in der_decode_generalizedtime()
81 return CRYPT_INVALID_PACKET; in der_decode_generalizedtime()
88 return CRYPT_INVALID_PACKET; in der_decode_generalizedtime()
121 if (x >= sizeof(buf)) return CRYPT_INVALID_PACKET; in der_decode_generalizedtime()
139 return CRYPT_INVALID_PACKET; in der_decode_generalizedtime()
/optee_os/core/lib/libtomcrypt/src/misc/padding/
A Dpadding_depad.c55 if (data[n] != pad) return CRYPT_INVALID_PACKET; in padding_depad()
65 if (data[unpadded_length - 1] != 0x0) return CRYPT_INVALID_PACKET; in padding_depad()
68 if (unpadded_length == 0) return CRYPT_INVALID_PACKET; in padding_depad()
70 if (data[unpadded_length] != 0x80) return CRYPT_INVALID_PACKET; in padding_depad()
78 if (unpadded_length == padded_length) return CRYPT_INVALID_PACKET; in padding_depad()
79 if (data[unpadded_length] != 0x0) return CRYPT_INVALID_PACKET; in padding_depad()
/optee_os/core/lib/libtomcrypt/src/misc/base16/
A Dbase16_decode.c51 if ((inlen % 2) == 1) return CRYPT_INVALID_PACKET; in base16_decode()
57 if ((in0 < '0') || (in0 > 'g')) return CRYPT_INVALID_PACKET; in base16_decode()
58 if ((in1 < '0') || (in1 > 'g')) return CRYPT_INVALID_PACKET; in base16_decode()
63 if (hashmap[idx0] == 0xff) return CRYPT_INVALID_PACKET; in base16_decode()
64 if (hashmap[idx1] == 0xff) return CRYPT_INVALID_PACKET; in base16_decode()
/optee_os/core/lib/libtomcrypt/src/pk/pkcs1/
A Dpkcs_1_v1_5_decode.c58 result = CRYPT_INVALID_PACKET; in pkcs_1_v1_5_decode()
71 result = CRYPT_INVALID_PACKET; in pkcs_1_v1_5_decode()
81 result = CRYPT_INVALID_PACKET; in pkcs_1_v1_5_decode()
91 result = CRYPT_INVALID_PACKET; in pkcs_1_v1_5_decode()
95 result = CRYPT_INVALID_PACKET; in pkcs_1_v1_5_decode()
A Dpkcs_1_oaep_decode.c91 ret = CRYPT_INVALID_PACKET; in pkcs_1_oaep_decode()
140 ret = CRYPT_INVALID_PACKET; in pkcs_1_oaep_decode()
150 ret = CRYPT_INVALID_PACKET; in pkcs_1_oaep_decode()
155 ret = CRYPT_INVALID_PACKET; in pkcs_1_oaep_decode()
A Dpkcs_1_pss_decode.c85 err = CRYPT_INVALID_PACKET; in pkcs_1_pss_decode()
100 err = CRYPT_INVALID_PACKET; in pkcs_1_pss_decode()
122 err = CRYPT_INVALID_PACKET; in pkcs_1_pss_decode()
129 err = CRYPT_INVALID_PACKET; in pkcs_1_pss_decode()
/optee_os/core/lib/libtomcrypt/src/pk/asn1/der/utf8/
A Dder_decode_utf8_string.c41 return CRYPT_INVALID_PACKET; in der_decode_utf8_string()
46 return CRYPT_INVALID_PACKET; in der_decode_utf8_string()
58 return CRYPT_INVALID_PACKET; in der_decode_utf8_string()
70 return CRYPT_INVALID_PACKET; in der_decode_utf8_string()
80 return CRYPT_INVALID_PACKET; in der_decode_utf8_string()
/optee_os/core/lib/libtomcrypt/src/misc/base64/
A Dbase64_decode.c109 return CRYPT_INVALID_PACKET; in _base64_decode_internal()
117 return CRYPT_INVALID_PACKET; in _base64_decode_internal()
121 return CRYPT_INVALID_PACKET; in _base64_decode_internal()
136 if (y == 1) return CRYPT_INVALID_PACKET; in _base64_decode_internal()
137 if (((y + g) != 4) && (mode == strict) && (map != map_base64url)) return CRYPT_INVALID_PACKET; in _base64_decode_internal()
/optee_os/core/lib/libtomcrypt/src/pk/asn1/der/short_integer/
A Dder_decode_short_integer.c36 return CRYPT_INVALID_PACKET; in der_decode_short_integer()
42 return CRYPT_INVALID_PACKET; in der_decode_short_integer()
49 return CRYPT_INVALID_PACKET; in der_decode_short_integer()
/optee_os/core/lib/libtomcrypt/src/pk/asn1/der/utctime/
A Dder_decode_utctime.c38 if (y >= max) return CRYPT_INVALID_PACKET; \
61 return CRYPT_INVALID_PACKET; in der_decode_utctime()
68 return CRYPT_INVALID_PACKET; in der_decode_utctime()
120 return CRYPT_INVALID_PACKET; in der_decode_utctime()
/optee_os/core/lib/libtomcrypt/src/pk/asn1/der/octet/
A Dder_decode_octet_string.c40 return CRYPT_INVALID_PACKET; in der_decode_octet_string()
45 return CRYPT_INVALID_PACKET; in der_decode_octet_string()
63 return CRYPT_INVALID_PACKET; in der_decode_octet_string()
/optee_os/core/lib/libtomcrypt/src/pk/asn1/der/custom_type/
A Dder_decode_custom_type.c65 return CRYPT_INVALID_PACKET; in der_decode_custom_type_ex()
74 return CRYPT_INVALID_PACKET; in der_decode_custom_type_ex()
79 return CRYPT_INVALID_PACKET; in der_decode_custom_type_ex()
100 err = CRYPT_INVALID_PACKET; in der_decode_custom_type_ex()
112 err = CRYPT_INVALID_PACKET; in der_decode_custom_type_ex()
134 err = CRYPT_INVALID_PACKET; in der_decode_custom_type_ex()
238 err = CRYPT_INVALID_PACKET; in der_decode_custom_type_ex()
335 err = CRYPT_INVALID_PACKET; in der_decode_custom_type_ex()
394 err = CRYPT_INVALID_PACKET; in der_decode_custom_type_ex()
406 err = CRYPT_INVALID_PACKET; in der_decode_custom_type_ex()
/optee_os/core/lib/libtomcrypt/src/pk/asn1/der/ia5/
A Dder_decode_ia5_string.c40 return CRYPT_INVALID_PACKET; in der_decode_ia5_string()
45 return CRYPT_INVALID_PACKET; in der_decode_ia5_string()
63 return CRYPT_INVALID_PACKET; in der_decode_ia5_string()
/optee_os/core/lib/libtomcrypt/src/pk/asn1/der/printable_string/
A Dder_decode_printable_string.c40 return CRYPT_INVALID_PACKET; in der_decode_printable_string()
45 return CRYPT_INVALID_PACKET; in der_decode_printable_string()
63 return CRYPT_INVALID_PACKET; in der_decode_printable_string()
/optee_os/core/lib/libtomcrypt/src/pk/asn1/der/teletex_string/
A Dder_decode_teletex_string.c39 return CRYPT_INVALID_PACKET; in der_decode_teletex_string()
44 return CRYPT_INVALID_PACKET; in der_decode_teletex_string()
62 return CRYPT_INVALID_PACKET; in der_decode_teletex_string()
/optee_os/core/lib/libtomcrypt/src/pk/asn1/der/object_identifier/
A Dder_decode_object_identifier.c38 return CRYPT_INVALID_PACKET; in der_decode_object_identifier()
50 return CRYPT_INVALID_PACKET; in der_decode_object_identifier()
61 return CRYPT_INVALID_PACKET; in der_decode_object_identifier()
/optee_os/core/lib/libtomcrypt/src/pk/ecc/
A Decc_import_pkcs8.c31 return CRYPT_INVALID_PACKET; in _der_flexi_sequence_cmp()
36 return CRYPT_INVALID_PACKET; in _der_flexi_sequence_cmp()
158 err = CRYPT_INVALID_PACKET; in ecc_import_pkcs8()
170 err = CRYPT_INVALID_PACKET; in ecc_import_pkcs8()
181 err = CRYPT_INVALID_PACKET; in ecc_import_pkcs8()
A Decc_set_key.c34 err = CRYPT_INVALID_PACKET; in ecc_set_key()
46 err = CRYPT_INVALID_PACKET; in ecc_set_key()
/optee_os/core/lib/libtomcrypt/src/pk/asn1/der/integer/
A Dder_decode_integer.c37 return CRYPT_INVALID_PACKET; in der_decode_integer()
43 return CRYPT_INVALID_PACKET; in der_decode_integer()
/optee_os/core/lib/libtomcrypt/src/pk/asn1/der/bit/
A Dder_decode_bit_string.c45 return CRYPT_INVALID_PACKET; in der_decode_bit_string()
59 return CRYPT_INVALID_PACKET; in der_decode_bit_string()
A Dder_decode_raw_bit_string.c48 return CRYPT_INVALID_PACKET; in der_decode_raw_bit_string()
62 return CRYPT_INVALID_PACKET; in der_decode_raw_bit_string()
/optee_os/core/lib/libtomcrypt/src/pk/dsa/
A Ddsa_import.c77 err = CRYPT_INVALID_PACKET; in dsa_import()
132 err = CRYPT_INVALID_PACKET; in dsa_import()
140 err = CRYPT_INVALID_PACKET; in dsa_import()
/optee_os/core/lib/libtomcrypt/src/misc/base32/
A Dbase32_decode.c86 return CRYPT_INVALID_PACKET; in base32_decode()
95 return CRYPT_INVALID_PACKET; in base32_decode()
/optee_os/core/lib/libtomcrypt/src/misc/pbes/
A Dpbes2.c102 return CRYPT_INVALID_PACKET; in pbes2_extract()
130 return CRYPT_INVALID_PACKET; in pbes2_extract()
198 return CRYPT_INVALID_PACKET; in pbes2_extract()
/optee_os/core/lib/libtomcrypt/src/pk/dh/
A Ddh_import.c75 err = CRYPT_INVALID_PACKET; in dh_import()
80 err = CRYPT_INVALID_PACKET; in dh_import()

Completed in 32 milliseconds

12