Home
last modified time | relevance | path

Searched refs:CRYPT_ERROR_READPRNG (Results 1 – 19 of 19) sorted by relevance

/optee_os/core/lib/libtomcrypt/src/prngs/
A Dsober128.c205 …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 Dchacha20.c203 …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 Drc4.c206 …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 Drng_make_prng.c63 err = CRYPT_ERROR_READPRNG; in rng_make_prng()
A Dsprng.c149 …if (sprng_read(out, 500, &st) != 500) return CRYPT_ERROR_READPRNG; /* … in sprng_test()
/optee_os/core/lib/libtomcrypt/src/pk/pkcs1/
A Dpkcs_1_v1_5_encode.c77 result = CRYPT_ERROR_READPRNG; in pkcs_1_v1_5_encode()
85 result = CRYPT_ERROR_READPRNG; in pkcs_1_v1_5_encode()
A Dpkcs_1_oaep_encode.c111 err = CRYPT_ERROR_READPRNG; in pkcs_1_oaep_encode()
A Dpkcs_1_pss_encode.c89 err = CRYPT_ERROR_READPRNG; in pkcs_1_pss_encode()
/optee_os/core/lib/libtomcrypt/src/misc/padding/
A Dpadding_pad.c48 return CRYPT_ERROR_READPRNG; in _padding_padded_length()
125 return CRYPT_ERROR_READPRNG; in padding_pad()
/optee_os/core/lib/libtomcrypt/src/headers/
A Dtomcrypt.h55 CRYPT_ERROR_READPRNG, /* Could not read enough from PRNG */ enumerator
A Dtomcrypt_private.h453 return CRYPT_ERROR_READPRNG; \
/optee_os/core/lib/libtomcrypt/src/pk/x25519/
A Dx25519_make_key.c38 return CRYPT_ERROR_READPRNG; in x25519_make_key()
/optee_os/core/lib/libtomcrypt/src/math/
A Drand_prime.c56 return CRYPT_ERROR_READPRNG; in rand_prime()
A Drand_bn.c36 res = CRYPT_ERROR_READPRNG; in rand_bn_bits()
/optee_os/core/lib/libtomcrypt/src/pk/dh/
A Ddh_generate_key.c75 err = CRYPT_ERROR_READPRNG; in dh_generate_key()
A Ddh_make_key.c112 err = CRYPT_ERROR_READPRNG; in dh_make_key()
/optee_os/core/lib/libtomcrypt/src/misc/crypt/
A Dcrypt_constants.c40 _C_STRINGIFY(CRYPT_ERROR_READPRNG),
/optee_os/core/lib/libtomcrypt/src/pk/dsa/
A Ddsa_generate_pqg.c131 …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 Dtweetnacl.c338 return CRYPT_ERROR_READPRNG; in tweetnacl_crypto_sign_keypair()

Completed in 14 milliseconds