Searched refs:smlen (Results 1 – 3 of 3) sorted by relevance
/optee_os/core/lib/libtomcrypt/src/pk/ed25519/ |
A D | ed25519_sign.c | 32 unsigned long long smlen; in ed25519_sign() local 48 smlen = msglen + 64; in ed25519_sign() 49 s = XMALLOC(smlen); in ed25519_sign() 52 err = tweetnacl_crypto_sign(s, &smlen, in ed25519_sign() 60 zeromem(s, smlen); in ed25519_sign()
|
/optee_os/core/lib/libtomcrypt/src/pk/ec25519/ |
A D | tweetnacl.c | 386 int tweetnacl_crypto_sign(u8 *sm,u64 *smlen,const u8 *m,u64 mlen,const u8 *sk,const u8 *pk) in tweetnacl_crypto_sign() argument 397 *smlen = mlen+64; in tweetnacl_crypto_sign() 461 if (*mlen < smlen) return CRYPT_BUFFER_OVERFLOW; in tweetnacl_crypto_sign_open() 463 if (smlen < 64) return CRYPT_INVALID_ARG; in tweetnacl_crypto_sign_open() 467 XMEMMOVE(m,sm,smlen); in tweetnacl_crypto_sign_open() 470 tweetnacl_crypto_hash(h,m,smlen); in tweetnacl_crypto_sign_open() 478 smlen -= 64; in tweetnacl_crypto_sign_open() 480 FOR(i,smlen) m[i] = 0; in tweetnacl_crypto_sign_open() 481 zeromem(m, smlen); in tweetnacl_crypto_sign_open() 486 XMEMMOVE(m,m + 64,smlen); in tweetnacl_crypto_sign_open() [all …]
|
/optee_os/core/lib/libtomcrypt/src/headers/ |
A D | tomcrypt_private.h | 335 unsigned char *sm,unsigned long long *smlen, 341 const unsigned char *sm,unsigned long long smlen,
|
Completed in 6 milliseconds