Searched refs:ctx_prefix_size (Results 1 – 2 of 2) sorted by relevance
/optee_os-3.20.0/core/lib/libtomcrypt/src/pk/ed25519/ |
A D | ed25519_sign.c | 71 unsigned long ctx_prefix_size = sizeof(ctx_prefix); in ed25519ctx_sign() local 75 if ((err = ec25519_crypto_ctx(ctx_prefix, &ctx_prefix_size, 0, ctx, ctxlen)) != CRYPT_OK) in ed25519ctx_sign() 78 return s_ed25519_sign(msg, msglen, sig, siglen, ctx_prefix, ctx_prefix_size, private_key); in ed25519ctx_sign() 99 unsigned long ctx_prefix_size = sizeof(ctx_prefix); in ed25519ph_sign() local 101 if ((err = ec25519_crypto_ctx(ctx_prefix, &ctx_prefix_size, 1, ctx, ctxlen)) != CRYPT_OK) in ed25519ph_sign() 107 …return s_ed25519_sign(msg_hash, sizeof(msg_hash), sig, siglen, ctx_prefix, ctx_prefix_size, privat… in ed25519ph_sign()
|
A D | ed25519_verify.c | 74 unsigned long ctx_prefix_size = sizeof(ctx_prefix); in ed25519ctx_verify() local 78 if (ec25519_crypto_ctx(ctx_prefix, &ctx_prefix_size, 0, ctx, ctxlen) != CRYPT_OK) in ed25519ctx_verify() 81 return s_ed25519_verify(msg, msglen, sig, siglen, ctx_prefix, ctx_prefix_size, stat, public_key); in ed25519ctx_verify() 105 unsigned long ctx_prefix_size = sizeof(ctx_prefix); in ed25519ph_verify() local 107 if ((err = ec25519_crypto_ctx(ctx_prefix, &ctx_prefix_size, 1, ctx, ctxlen)) != CRYPT_OK) in ed25519ph_verify() 113 …return s_ed25519_verify(msg_hash, sizeof(msg_hash), sig, siglen, ctx_prefix, ctx_prefix_size, stat… in ed25519ph_verify()
|
Completed in 3 milliseconds