Home
last modified time | relevance | path

Searched refs:hash_memory (Results 1 – 15 of 15) sorted by relevance

/optee_os-3.20.0/core/lib/libtomcrypt/src/hashes/helper/
A Dsub.mk3 srcs-y += hash_memory.c
A Dhash_memory.c20 int hash_memory(int hash, const unsigned char *in, unsigned long inlen, unsigned char *out, unsigne… in hash_memory() function
/optee_os-3.20.0/core/lib/libtomcrypt/src/pk/pkcs1/
A Dpkcs_1_oaep_decode.c121 if ((err = hash_memory(hash_idx, lparam, lparamlen, seed, &x)) != CRYPT_OK) { in pkcs_1_oaep_decode()
126 if ((err = hash_memory(hash_idx, DB, 0, seed, &x)) != CRYPT_OK) { in pkcs_1_oaep_decode()
A Dpkcs_1_oaep_encode.c79 if ((err = hash_memory(hash_idx, lparam, lparamlen, DB, &x)) != CRYPT_OK) { in pkcs_1_oaep_encode()
84 if ((err = hash_memory(hash_idx, DB, 0, DB, &x)) != CRYPT_OK) { in pkcs_1_oaep_encode()
/optee_os-3.20.0/core/lib/libtomcrypt/src/misc/bcrypt/
A Dbcrypt.c124 …if ((err = hash_memory(hash_idx, (unsigned char*)secret, secret_len, hashed_pass, &hashed_pass_len… in bcrypt_pbkdf_openbsd()
154 if ((err = hash_memory(hash_idx, buf[1], y, buf[0], &x)) != CRYPT_OK) { in bcrypt_pbkdf_openbsd()
/optee_os-3.20.0/core/lib/libtomcrypt/src/mac/hmac/
A Dhmac_init.c59 if ((err = hash_memory(hash, key, keylen, hmac->key, &z)) != CRYPT_OK) { in hmac_init()
/optee_os-3.20.0/core/lib/libtomcrypt/src/pk/dsa/
A Ddsa_decrypt_key.c90 if ((err = hash_memory(hash, expt, x, expt, &y)) != CRYPT_OK) { in dsa_decrypt_key()
A Ddsa_encrypt_key.c89 if ((err = hash_memory(hash, expt, x, skey, &y)) != CRYPT_OK) { in dsa_encrypt_key()
A Ddsa_generate_pqg.c126 if ((err = hash_memory(hash, sbuf, seedbytes, digest, &i)) != CRYPT_OK) { goto cleanup; } in s_dsa_make_params()
147 err = hash_memory(hash, sbuf, seedbytes, wbuf+(n-j)*outbytes, &i); in s_dsa_make_params()
/optee_os-3.20.0/core/lib/libtomcrypt/src/pk/ecc/
A Decc_encrypt_key.c90 if ((err = hash_memory(hash, ecc_shared, x, skey, &y)) != CRYPT_OK) { in ecc_encrypt_key()
A Decc_decrypt_key.c94 if ((err = hash_memory(hash, ecc_shared, x, ecc_shared, &y)) != CRYPT_OK) { in ecc_decrypt_key()
/optee_os-3.20.0/core/lib/libtomcrypt/src/misc/pkcs5/
A Dpkcs_5_1.c101 …if ((err = hash_memory(hash_idx, buf, hash_descriptor[hash_idx]->hashsize, buf, &x)) != CRYPT_OK) { in s_pkcs_5_alg1_common()
/optee_os-3.20.0/core/lib/libtomcrypt/src/misc/pkcs12/
A Dpkcs12_kdf.c45 err = hash_memory(hash_id, A, Alen, A, &Alen); /* A = HASH(A) */ in pkcs12_kdf()
/optee_os-3.20.0/core/lib/libtomcrypt/src/headers/
A Dtomcrypt_hash.h493 int hash_memory(int hash,
/optee_os-3.20.0/core/lib/libtomcrypt/src/pk/ec25519/
A Dtweetnacl.c232 return hash_memory(hash_idx, m, n, out, &len); in tweetnacl_crypto_hash_ctx()

Completed in 11 milliseconds