Home
last modified time | relevance | path

Searched refs:asn1_length (Results 1 – 2 of 2) sorted by relevance

/optee_os/core/drivers/crypto/crypto_api/include/
H A Ddrvcrypt_asn1_oid.h136 const size_t asn1_length; /* OID ASN1 string length */ member
/optee_os/core/drivers/crypto/crypto_api/acipher/
H A Drsassa.c50 SUB_OVERFLOW(ps_size, 10 + hash_oid->asn1_length, &ps_size)) in emsa_pkcs1_v1_5_encode()
93 *buf++ = 0x08 + hash_oid->asn1_length + ssa_data->digest_size; in emsa_pkcs1_v1_5_encode()
97 *buf++ = 0x04 + hash_oid->asn1_length; in emsa_pkcs1_v1_5_encode()
99 *buf++ = hash_oid->asn1_length; in emsa_pkcs1_v1_5_encode()
102 memcpy(buf, hash_oid->asn1, hash_oid->asn1_length); in emsa_pkcs1_v1_5_encode()
103 buf += hash_oid->asn1_length; in emsa_pkcs1_v1_5_encode()