Searched refs:digest_len (Results 1 – 8 of 8) sorted by relevance
/optee_os-3.20.0/core/drivers/tpm2/ |
A D | tpm2_tcg.c | 29 void *digest, uint32_t digest_len) in tpm2_tcg_pcr_extend() argument 31 if (tpm2_pcr_extend(pcr_idx, alg, digest, digest_len)) in tpm2_tcg_pcr_extend()
|
A D | tpm2_cmd.c | 206 uint32_t *digest_len) in tpm2_pcr_read() argument 223 if (!digest || !digest_len) in tpm2_pcr_read() 234 if (*digest_len < alg_len) in tpm2_pcr_read() 317 *digest_len = alg_len; in tpm2_pcr_read() 357 uint32_t digest_len) in tpm2_pcr_extend() argument 379 if (digest_len < alg_len) in tpm2_pcr_extend() 409 tpm2_cmd_add(buf, buf_len, digest, digest_len); in tpm2_pcr_extend()
|
/optee_os-3.20.0/core/include/ |
A D | tpm2.h | 205 uint32_t *digest_len); 218 uint32_t digest_len);
|
/optee_os-3.20.0/core/include/kernel/ |
A D | tcg.h | 125 uint32_t digest_len);
|
/optee_os-3.20.0/core/crypto/ |
A D | cbc-mac.c | 128 uint8_t *digest, size_t digest_len) in crypto_cbc_mac_final() argument 149 memcpy(digest, mc->digest, MIN(digest_len, mc->block_len)); in crypto_cbc_mac_final()
|
A D | crypto.c | 330 TEE_Result crypto_mac_final(void *ctx, uint8_t *digest, size_t digest_len) in crypto_mac_final() argument 332 return mac_ops(ctx)->final(ctx, digest, digest_len); in crypto_mac_final()
|
/optee_os-3.20.0/core/include/crypto/ |
A D | crypto.h | 56 TEE_Result crypto_mac_final(void *ctx, uint8_t *digest, size_t digest_len);
|
/optee_os-3.20.0/lib/libmbedtls/mbedtls/library/ |
A D | ssl_tls.c | 2368 size_t digest_len; in ssl_check_peer_crt_unchanged() local 2373 digest_len = mbedtls_md_get_size( digest_info ); in ssl_check_peer_crt_unchanged() 2374 if( digest_len > MBEDTLS_SSL_PEER_CERT_DIGEST_MAX_LEN ) in ssl_check_peer_crt_unchanged() 2381 return( memcmp( tmp_digest, peer_cert_digest, digest_len ) ); in ssl_check_peer_crt_unchanged()
|
Completed in 20 milliseconds