Searched refs:CRYPT_ERROR_READPRNG (Results 1 – 19 of 19) sorted by relevance
/optee_os/core/lib/libtomcrypt/src/prngs/ |
A D | sober128.c | 205 …if (sober128_read(out, 10, &st) != 10) return CRYPT_ERROR_READPRNG; … in sober128_test() 207 …if (sober128_read(out, 500, &st) != 500) return CRYPT_ERROR_READPRNG; … in sober128_test() 210 …if (sober128_read(out, 500, &st) != 500) return CRYPT_ERROR_READPRNG; … in sober128_test() 212 …if (sober128_read(out, 500, &st) != 500) return CRYPT_ERROR_READPRNG; … in sober128_test() 213 …if (sober128_read(out, 10, &st) != 10) return CRYPT_ERROR_READPRNG; … in sober128_test() 218 …if (sober128_read(out, 500, &st) != 500) return CRYPT_ERROR_READPRNG; … in sober128_test() 219 …if (sober128_read(out, 10, &st) != 10) return CRYPT_ERROR_READPRNG; … in sober128_test()
|
A D | chacha20.c | 203 …prng_read(out, 10, &st) != 10) return CRYPT_ERROR_READPRNG; /* 10 byte… in chacha20_prng_test() 205 …prng_read(out, 500, &st) != 500) return CRYPT_ERROR_READPRNG; /* skip 50… in chacha20_prng_test() 208 …prng_read(out, 500, &st) != 500) return CRYPT_ERROR_READPRNG; /* skip 50… in chacha20_prng_test() 210 …prng_read(out, 500, &st) != 500) return CRYPT_ERROR_READPRNG; /* skip 50… in chacha20_prng_test() 211 …prng_read(out, 10, &st) != 10) return CRYPT_ERROR_READPRNG; /* 10 byte… in chacha20_prng_test() 216 …prng_read(out, 500, &st) != 500) return CRYPT_ERROR_READPRNG; /* skip 50… in chacha20_prng_test() 217 …prng_read(out, 10, &st) != 10) return CRYPT_ERROR_READPRNG; /* 10 byte… in chacha20_prng_test()
|
A D | rc4.c | 206 …if (rc4_read(out, 10, &st) != 10) return CRYPT_ERROR_READPRNG; /* 10… in rc4_test() 208 …if (rc4_read(out, 500, &st) != 500) return CRYPT_ERROR_READPRNG; /* sk… in rc4_test() 211 …if (rc4_read(out, 500, &st) != 500) return CRYPT_ERROR_READPRNG; /* sk… in rc4_test() 213 …if (rc4_read(out, 500, &st) != 500) return CRYPT_ERROR_READPRNG; /* sk… in rc4_test() 214 …if (rc4_read(out, 10, &st) != 10) return CRYPT_ERROR_READPRNG; /* 10… in rc4_test() 219 …if (rc4_read(out, 500, &st) != 500) return CRYPT_ERROR_READPRNG; /* sk… in rc4_test() 220 …if (rc4_read(out, 10, &st) != 10) return CRYPT_ERROR_READPRNG; /* 10… in rc4_test()
|
A D | rng_make_prng.c | 63 err = CRYPT_ERROR_READPRNG; in rng_make_prng()
|
A D | sprng.c | 149 …if (sprng_read(out, 500, &st) != 500) return CRYPT_ERROR_READPRNG; /* … in sprng_test()
|
/optee_os/core/lib/libtomcrypt/src/pk/pkcs1/ |
A D | pkcs_1_v1_5_encode.c | 77 result = CRYPT_ERROR_READPRNG; in pkcs_1_v1_5_encode() 85 result = CRYPT_ERROR_READPRNG; in pkcs_1_v1_5_encode()
|
A D | pkcs_1_oaep_encode.c | 111 err = CRYPT_ERROR_READPRNG; in pkcs_1_oaep_encode()
|
A D | pkcs_1_pss_encode.c | 89 err = CRYPT_ERROR_READPRNG; in pkcs_1_pss_encode()
|
/optee_os/core/lib/libtomcrypt/src/misc/padding/ |
A D | padding_pad.c | 48 return CRYPT_ERROR_READPRNG; in _padding_padded_length() 125 return CRYPT_ERROR_READPRNG; in padding_pad()
|
/optee_os/core/lib/libtomcrypt/src/headers/ |
A D | tomcrypt.h | 55 CRYPT_ERROR_READPRNG, /* Could not read enough from PRNG */ enumerator
|
A D | tomcrypt_private.h | 453 return CRYPT_ERROR_READPRNG; \
|
/optee_os/core/lib/libtomcrypt/src/pk/x25519/ |
A D | x25519_make_key.c | 38 return CRYPT_ERROR_READPRNG; in x25519_make_key()
|
/optee_os/core/lib/libtomcrypt/src/math/ |
A D | rand_prime.c | 56 return CRYPT_ERROR_READPRNG; in rand_prime()
|
A D | rand_bn.c | 36 res = CRYPT_ERROR_READPRNG; in rand_bn_bits()
|
/optee_os/core/lib/libtomcrypt/src/pk/dh/ |
A D | dh_generate_key.c | 75 err = CRYPT_ERROR_READPRNG; in dh_generate_key()
|
A D | dh_make_key.c | 112 err = CRYPT_ERROR_READPRNG; in dh_make_key()
|
/optee_os/core/lib/libtomcrypt/src/misc/crypt/ |
A D | crypt_constants.c | 40 _C_STRINGIFY(CRYPT_ERROR_READPRNG),
|
/optee_os/core/lib/libtomcrypt/src/pk/dsa/ |
A D | dsa_generate_pqg.c | 131 …r[wprng]->read(sbuf, seedbytes, prng) != seedbytes) { err = CRYPT_ERROR_READPRNG; goto clean… in _dsa_make_params()
|
/optee_os/core/lib/libtomcrypt/src/pk/ec25519/ |
A D | tweetnacl.c | 338 return CRYPT_ERROR_READPRNG; in tweetnacl_crypto_sign_keypair()
|
Completed in 14 milliseconds