Home
last modified time | relevance | path

Searched refs:digest_len (Results 1 – 8 of 8) sorted by relevance

/optee_os-3.20.0/core/drivers/tpm2/
A Dtpm2_tcg.c29 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 Dtpm2_cmd.c206 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 Dtpm2.h205 uint32_t *digest_len);
218 uint32_t digest_len);
/optee_os-3.20.0/core/include/kernel/
A Dtcg.h125 uint32_t digest_len);
/optee_os-3.20.0/core/crypto/
A Dcbc-mac.c128 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 Dcrypto.c330 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 Dcrypto.h56 TEE_Result crypto_mac_final(void *ctx, uint8_t *digest, size_t digest_len);
/optee_os-3.20.0/lib/libmbedtls/mbedtls/library/
A Dssl_tls.c2368 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 21 milliseconds