/external/dropbear/libtomcrypt/src/encauth/ocb/ |
ocb_test.c | 22 @return CRYPT_OK if successful 181 tests[x].nonce, tests[x].pt, tests[x].ptlen, outct, outtag, &len)) != CRYPT_OK) { 205 outct, tests[x].tag, len, &res)) != CRYPT_OK) { 221 return CRYPT_OK;
|
/external/dropbear/libtomcrypt/src/headers/ |
tomcrypt_hash.h | 166 @return CRYPT_OK if successful 173 @return CRYPT_OK if successful 179 @return CRYPT_OK if successful 183 @return CRYPT_OK if successful, CRYPT_NOP if self-tests have been disabled 353 if ((err = compress_name (md, (unsigned char *)in)) != CRYPT_OK) { \ 366 if ((err = compress_name (md, md-> state_var .buf)) != CRYPT_OK) { \ 374 return CRYPT_OK; \
|
/external/dropbear/libtomcrypt/src/hashes/ |
md4.c | 156 return CRYPT_OK; 172 @return CRYPT_OK if successful 183 return CRYPT_OK; 191 @return CRYPT_OK if successful 199 @return CRYPT_OK if successful 246 return CRYPT_OK; 251 @return CRYPT_OK if successful, CRYPT_NOP if self-tests have been disabled 297 return CRYPT_OK;
|
sha1.c | 147 return CRYPT_OK; 163 @return CRYPT_OK if successful 175 return CRYPT_OK; 183 @return CRYPT_OK if successful 191 @return CRYPT_OK if successful 238 return CRYPT_OK; 243 @return CRYPT_OK if successful, CRYPT_NOP if self-tests have been disabled 278 return CRYPT_OK;
|
md5.c | 215 return CRYPT_OK; 231 @return CRYPT_OK if successful 242 return CRYPT_OK; 250 @return CRYPT_OK if successful 258 @return CRYPT_OK if successful 306 return CRYPT_OK; 311 @return CRYPT_OK if successful, CRYPT_NOP if self-tests have been disabled 358 return CRYPT_OK;
|
rmd128.c | 254 return CRYPT_OK; 270 @return CRYPT_OK if successful 281 return CRYPT_OK; 289 @return CRYPT_OK if successful 297 @return CRYPT_OK if successful 345 return CRYPT_OK; 350 @return CRYPT_OK if successful, CRYPT_NOP if self-tests have been disabled 401 return CRYPT_OK;
|
rmd160.c | 312 return CRYPT_OK; 328 @return CRYPT_OK if successful 340 return CRYPT_OK; 348 @return CRYPT_OK if successful 356 @return CRYPT_OK if successful 404 return CRYPT_OK; 409 @return CRYPT_OK if successful, CRYPT_NOP if self-tests have been disabled 460 return CRYPT_OK;
|
rmd256.c | 263 return CRYPT_OK; 279 @return CRYPT_OK if successful 294 return CRYPT_OK; 302 @return CRYPT_OK if successful 310 @return CRYPT_OK if successful 358 return CRYPT_OK; 363 @return CRYPT_OK if successful, CRYPT_NOP if self-tests have been disabled 426 return CRYPT_OK;
|
rmd320.c | 325 return CRYPT_OK; 341 @return CRYPT_OK if successful 358 return CRYPT_OK; 366 @return CRYPT_OK if successful 374 @return CRYPT_OK if successful 422 return CRYPT_OK; 427 @return CRYPT_OK if successful, CRYPT_NOP if self-tests have been disabled 490 return CRYPT_OK;
|
/external/dropbear/libtomcrypt/src/hashes/sha2/ |
sha512.c | 156 return CRYPT_OK; 173 @return CRYPT_OK if successful 188 return CRYPT_OK; 196 @return CRYPT_OK if successful 204 @return CRYPT_OK if successful 254 return CRYPT_OK; 259 @return CRYPT_OK if successful, CRYPT_NOP if self-tests have been disabled 304 return CRYPT_OK;
|
sha256.c | 188 return CRYPT_OK; 204 @return CRYPT_OK if successful 220 return CRYPT_OK; 228 @return CRYPT_OK if successful 236 @return CRYPT_OK if successful 284 return CRYPT_OK; 289 @return CRYPT_OK if successful, CRYPT_NOP if self-tests have been disabled 326 return CRYPT_OK;
|
/external/dropbear/libtomcrypt/src/hashes/whirl/ |
whirl.c | 108 return CRYPT_OK; 126 @return CRYPT_OK if successful 132 return CRYPT_OK; 140 @return CRYPT_OK if successful 148 @return CRYPT_OK if successful 195 return CRYPT_OK; 200 @return CRYPT_OK if successful, CRYPT_NOP if self-tests have been disabled 304 return CRYPT_OK;
|
/external/dropbear/libtomcrypt/src/ciphers/aes/ |
aes.c | 121 @return CRYPT_OK if successful 278 return CRYPT_OK; 286 @return CRYPT_OK if successful 446 return CRYPT_OK; 465 @return CRYPT_OK if successful 625 return CRYPT_OK; 640 @return CRYPT_OK if functional, CRYPT_NOP if self-test has been disabled 687 if ((err = rijndael_setup(tests[i].key, tests[i].keylen, 0, &key)) != CRYPT_OK) { 719 return CRYPT_OK; 737 @return CRYPT_OK if the input key size is acceptable [all...] |
/external/dropbear/libtomcrypt/src/ciphers/twofish/ |
twofish.c | 343 @return CRYPT_OK if successful 452 return CRYPT_OK; 470 @return CRYPT_OK if successful 526 return CRYPT_OK; 543 @return CRYPT_OK if successful 601 return CRYPT_OK; 615 @return CRYPT_OK if functional, CRYPT_NOP if self-test has been disabled 661 if ((err = twofish_setup(tests[i].key, tests[i].keylen, 0, &key)) != CRYPT_OK) { 678 return CRYPT_OK; 692 @return CRYPT_OK if the input key size is acceptable [all...] |
/external/dropbear/libtomcrypt/src/mac/pmac/ |
pmac_test.c | 23 @return CRYPT_OK if successful, CRYPT_NOP if testing has been disabled 137 if ((err = pmac_memory(idx, tests[x].key, 16, tests[x].msg, tests[x].msglen, outtag, &len)) != CRYPT_OK) { 154 return CRYPT_OK;
|
/external/dropbear/libtomcrypt/src/encauth/eax/ |
eax_test.c | 22 @return CRYPT_OK if successful, CRYPT_NOP if self-testing has been disabled 231 tests[x].plaintext, tests[x].msglen, outct, outtag, &len)) != CRYPT_OK) { 256 outct, tests[x].msglen, outct, outtag, len, &res)) != CRYPT_OK) { 274 return CRYPT_OK;
|
/external/dropbear/libtomcrypt/src/ciphers/ |
blowfish.c | 306 @return CRYPT_OK if successful 374 return CRYPT_OK; 388 @return CRYPT_OK if successful 433 return CRYPT_OK; 450 @return CRYPT_OK if successful 494 return CRYPT_OK; 509 @return CRYPT_OK if functional, CRYPT_NOP if self-test has been disabled 542 if ((err = blowfish_setup(tests[x].key, 8, 16, &key)) != CRYPT_OK) { 561 return CRYPT_OK; 575 @return CRYPT_OK if the input key size is acceptable [all...] |
kseed.c | 200 @return CRYPT_OK if successful 238 return CRYPT_OK; 257 @return CRYPT_OK if successful 271 return CRYPT_OK; 279 @return CRYPT_OK if successful 293 return CRYPT_OK; 305 @return CRYPT_OK if functional, CRYPT_NOP if self-test has been disabled 352 return CRYPT_OK; 359 @return CRYPT_OK if the input key size is acceptable. 369 return CRYPT_OK; [all...] |
cast5.c | 406 @return CRYPT_OK if successful [all...] |
/external/dropbear/libtomcrypt/src/ciphers/safer/ |
saferp.c | 214 @return CRYPT_OK if successful 324 return CRYPT_OK; 332 @return CRYPT_OK if successful 388 return CRYPT_OK; 396 @return CRYPT_OK if successful 452 return CRYPT_OK; 457 @return CRYPT_OK if functional, CRYPT_NOP if self-test has been disabled 503 if ((err = saferp_setup(tests[i].key, tests[i].keylen, 0, &skey)) != CRYPT_OK) { 521 return CRYPT_OK; 535 @return CRYPT_OK if the input key size is acceptable [all...] |
/external/dropbear/libtomcrypt/ |
crypt.tex | 244 if ((err = some_crypto_function(...)) != CRYPT_OK) { 336 if ((err = rsa_export(buffer, &x, PK_PUBLIC, &key)) != CRYPT_OK) { 379 != CRYPT_OK) { 475 if ((err = twofish_keysize(&keysize)) != CRYPT_OK) { 516 ) != CRYPT_OK) { 713 setup(key, 8, 0, &skey)) != CRYPT_OK) { [all...] |
/external/dropbear/libtomcrypt/src/encauth/gcm/ |
gcm_test.c | 22 @return CRYPT_OK on success 346 out[0], T[0], &y, GCM_ENCRYPT)) != CRYPT_OK) { 377 out[0], T[1], &y, GCM_DECRYPT)) != CRYPT_OK) { 404 return CRYPT_OK;
|
/external/dropbear/libtomcrypt/testprof/ |
der_tests.c | 34 if ((err = der_encode_set(list, 3, outbuf, &outlen)) != CRYPT_OK) { 45 if ((err = der_decode_set(outbuf, outlen, list, 3)) != CRYPT_OK) { 82 if ((err = der_encode_setof(list, 10, outbuf, &outlen)) != CRYPT_OK) { 92 if ((err = der_decode_set(outbuf, outlen, list, 10)) != CRYPT_OK) { 172 if ((err = der_encode_sequence(&static_list[0][0], 3, encode_buf, &encode_buf_len)) != CRYPT_OK) { 188 if ((err = der_decode_sequence_flexi(encode_buf, &decode_len, &decoded_list)) != CRYPT_OK) { [all...] |
/external/dropbear/libtomcrypt/src/mac/hmac/ |
hmac_test.c | 35 @return CRYPT_OK if successful, CRYPT_NOP if tests have been disabled. 273 if((err = hmac_memory(hash, cases[i].key, cases[i].keylen, cases[i].data, cases[i].datalen, digest, &outlen)) != CRYPT_OK) { 306 return CRYPT_OK;
|
/external/dropbear/ |
dropbearkey.c | 315 if (err != CRYPT_OK) {
|