Lines Matching refs:len
88 size_t len; in verify_signature() local
131 rc = mbedtls_asn1_get_tag(&p, end, &len, in verify_signature()
136 end = p + len; in verify_signature()
147 rc = mbedtls_asn1_get_bitstring_null(&p, end, &len); in verify_signature()
151 rc = mbedtls_asn1_get_tag(&p, end, &len, in verify_signature()
157 rc = mbedtls_asn1_get_tag(&p, end, &len, MBEDTLS_ASN1_INTEGER); in verify_signature()
162 p++; len--; in verify_signature()
164 if (len != BSV_CERT_RSA_KEY_SIZE_IN_BYTES || ((p + len) > end)) in verify_signature()
173 p += len; in verify_signature()
184 rc = mbedtls_asn1_get_bitstring_null(&p, end, &len); in verify_signature()
188 if (len != BSV_CERT_RSA_KEY_SIZE_IN_BYTES || ((p + len) > end)) in verify_signature()
225 size_t len; in verify_hash() local
232 rc = mbedtls_asn1_get_tag(&p, end, &len, MBEDTLS_ASN1_CONSTRUCTED | in verify_hash()
250 rc = mbedtls_asn1_get_tag(&p, end, &len, MBEDTLS_ASN1_OCTET_STRING); in verify_hash()
255 if (len != HASH_RESULT_SIZE_IN_BYTES) in verify_hash()