Home
last modified time | relevance | path

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

/u-boot/lib/crypto/
A Dpublic_key.c204 struct crypto_akcipher *tfm; in software_key_query() local
217 if (IS_ERR(tfm)) in software_key_query()
218 return PTR_ERR(tfm); in software_key_query()
253 crypto_free_akcipher(tfm); in software_key_query()
266 struct crypto_akcipher *tfm; in software_key_eds_op() local
282 if (IS_ERR(tfm)) in software_key_eds_op()
283 return PTR_ERR(tfm); in software_key_eds_op()
340 crypto_free_akcipher(tfm); in software_key_eds_op()
372 if (IS_ERR(tfm)) in public_key_verify_signature()
373 return PTR_ERR(tfm); in public_key_verify_signature()
[all …]
A Dx509_public_key.c43 struct crypto_shash *tfm; in x509_get_sig_params() local
94 tfm = crypto_alloc_shash(sig->hash_algo, 0, 0); in x509_get_sig_params()
95 if (IS_ERR(tfm)) { in x509_get_sig_params()
96 if (PTR_ERR(tfm) == -ENOENT) { in x509_get_sig_params()
100 return PTR_ERR(tfm); in x509_get_sig_params()
103 desc_size = crypto_shash_descsize(tfm) + sizeof(*desc); in x509_get_sig_params()
104 sig->digest_size = crypto_shash_digestsize(tfm); in x509_get_sig_params()
115 desc->tfm = tfm; in x509_get_sig_params()
132 crypto_free_shash(tfm); in x509_get_sig_params()
A Dpkcs7_verify.c146 struct crypto_shash *tfm; in pkcs7_digest() local
163 tfm = crypto_alloc_shash(sinfo->sig->hash_algo, 0, 0); in pkcs7_digest()
164 if (IS_ERR(tfm)) in pkcs7_digest()
165 return (PTR_ERR(tfm) == -ENOENT) ? -ENOPKG : PTR_ERR(tfm); in pkcs7_digest()
167 desc_size = crypto_shash_descsize(tfm) + sizeof(*desc); in pkcs7_digest()
168 sig->digest_size = crypto_shash_digestsize(tfm); in pkcs7_digest()
179 desc->tfm = tfm; in pkcs7_digest()
240 crypto_free_shash(tfm); in pkcs7_digest()
/u-boot/fs/ubifs/
A Dubifs.c112 crypto_comp_decompress(const struct ubifs_info *c, struct crypto_comp *tfm, in crypto_comp_decompress() argument
116 struct ubifs_compressor *compr = ubifs_compressors[tfm->compressor]; in crypto_comp_decompress()

Completed in 8 milliseconds