Lines Matching refs:context_len
5442 const size_t context_len) in hash_init_with_dom() argument
5458 if (context_len > UINT8_MAX) in hash_init_with_dom()
5462 dom[1] = (uint8_t)context_len; in hash_init_with_dom()
5466 || !EVP_DigestUpdate(hash_ctx, context, context_len)) { in hash_init_with_dom()
5477 const uint8_t *context, size_t context_len, in ossl_ed25519_sign() argument
5490 context_len = 0; in ossl_ed25519_sign()
5493 if (csflag && context_len == 0) in ossl_ed25519_sign()
5497 if (!dom2flag && context_len > 0) in ossl_ed25519_sign()
5512 if (!hash_init_with_dom(hash_ctx, sha512, dom2flag, phflag, context, context_len) in ossl_ed25519_sign()
5522 if (!hash_init_with_dom(hash_ctx, sha512, dom2flag, phflag, context, context_len) in ossl_ed25519_sign()
5562 const uint8_t *context, size_t context_len, in ossl_ed25519_verify() argument
5582 context_len = 0; in ossl_ed25519_verify()
5585 if (csflag && context_len == 0) in ossl_ed25519_verify()
5589 if (!dom2flag && context_len > 0) in ossl_ed25519_verify()
5636 if (!hash_init_with_dom(hash_ctx, sha512, dom2flag, phflag, context, context_len) in ossl_ed25519_verify()