Searched refs:hash_memory (Results 1 – 15 of 15) sorted by relevance
/optee_os-3.20.0/core/lib/libtomcrypt/src/hashes/helper/ |
A D | sub.mk | 3 srcs-y += hash_memory.c
|
A D | hash_memory.c | 20 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 D | pkcs_1_oaep_decode.c | 121 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 D | pkcs_1_oaep_encode.c | 79 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 D | bcrypt.c | 124 …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 D | hmac_init.c | 59 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 D | dsa_decrypt_key.c | 90 if ((err = hash_memory(hash, expt, x, expt, &y)) != CRYPT_OK) { in dsa_decrypt_key()
|
A D | dsa_encrypt_key.c | 89 if ((err = hash_memory(hash, expt, x, skey, &y)) != CRYPT_OK) { in dsa_encrypt_key()
|
A D | dsa_generate_pqg.c | 126 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 D | ecc_encrypt_key.c | 90 if ((err = hash_memory(hash, ecc_shared, x, skey, &y)) != CRYPT_OK) { in ecc_encrypt_key()
|
A D | ecc_decrypt_key.c | 94 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 D | pkcs_5_1.c | 101 …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 D | pkcs12_kdf.c | 45 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 D | tomcrypt_hash.h | 493 int hash_memory(int hash,
|
/optee_os-3.20.0/core/lib/libtomcrypt/src/pk/ec25519/ |
A D | tweetnacl.c | 232 return hash_memory(hash_idx, m, n, out, &len); in tweetnacl_crypto_hash_ctx()
|
Completed in 11 milliseconds