Home
last modified time | relevance | path

Searched refs:dec_data (Results 1 – 4 of 4) sorted by relevance

/optee_os-3.20.0/core/lib/libtomcrypt/src/pk/asn1/pkcs8/
A Dpkcs8_decode_flexi.c23 unsigned char *dec_data = NULL; in pkcs8_decode_flexi() local
66 if ((dec_data = XMALLOC(dec_size)) == NULL) { in pkcs8_decode_flexi()
71 if ((err = pbes_decrypt(&pbes, dec_data, &dec_size)) != CRYPT_OK) goto LBL_DONE; in pkcs8_decode_flexi()
75 err = der_decode_sequence_flexi(dec_data, &dec_size, &l); in pkcs8_decode_flexi()
90 if (dec_data) { in pkcs8_decode_flexi()
91 zeromem(dec_data, dec_size); in pkcs8_decode_flexi()
92 XFREE(dec_data); in pkcs8_decode_flexi()
/optee_os-3.20.0/core/lib/libtomcrypt/src/misc/pbes/
A Dpbes.c15 int pbes_decrypt(const pbes_arg *arg, unsigned char *dec_data, unsigned long *dec_size) in pbes_decrypt() argument
25 LTC_ARGCHK(dec_data != NULL); in pbes_decrypt()
55 …if ((err = cbc_decrypt(arg->enc_data->data, dec_data, arg->enc_data->size, &cbc)) != CRYPT_OK) got… in pbes_decrypt()
58 if ((err = padding_depad(dec_data, &dlen, LTC_PAD_PKCS7)) != CRYPT_OK) goto LBL_ERROR; in pbes_decrypt()
69 zeromem(dec_data, *dec_size); in pbes_decrypt()
/optee_os-3.20.0/core/drivers/crypto/caam/acipher/
A Dcaam_rsa.c717 struct drvcrypt_rsa_ed dec_data = { }; in do_oaep_decoding() local
731 memcpy(&dec_data, rsa_data, sizeof(dec_data)); in do_oaep_decoding()
732 dec_data.message.data = EM.data; in do_oaep_decoding()
733 dec_data.message.length = EM.length; in do_oaep_decoding()
735 ret = do_caam_decrypt(&dec_data, RSA_DECRYPT(NO)); in do_oaep_decoding()
/optee_os-3.20.0/core/lib/libtomcrypt/src/headers/
A Dtomcrypt_private.h250 int pbes_decrypt(const pbes_arg *arg, unsigned char *dec_data, unsigned long *dec_size);

Completed in 7 milliseconds