Home | History | Annotate | Download | only in libtomcrypt

Lines Matching refs:const

233 const char *error_to_string(int err);
303 \hline ROLc(x, y) & {\bf unsigned long} x, {\bf const unsigned long} y & $x << y, 0 \le y \le 31$ \\
305 \hline RORc(x, y) & {\bf unsigned long} x, {\bf const unsigned long} y & $x >> y, 0 \le y \le 31$ \\
308 \hline ROL64c(x, y) & {\bf unsigned long} x, {\bf const unsigned long} y & $x << y, 0 \le y \le 63$ \\
310 \hline ROR64c(x, y) & {\bf unsigned long} x, {\bf const unsigned long} y & $x >> y, 0 \le y \le 63$ \\
415 int XXX_setup(const unsigned char *key,
435 int XXX_ecb_encrypt(const unsigned char *pt,
439 int XXX_ecb_decrypt(const unsigned char *ct,
727 int register_cipher(const struct _cipher_descriptor *cipher);
734 int unregister_cipher(const struct _cipher_descriptor *cipher);
854 const unsigned char *IV,
855 const unsigned char *key,
861 const unsigned char *IV,
862 const unsigned char *key,
869 const unsigned char *key,
896 int XXX_encrypt(const unsigned char *pt,
901 int XXX_decrypt(const unsigned char *ct,
927 int XXX_setiv(const unsigned char *IV,
1044 const unsigned char *IV,
1045 const unsigned char *key,
1047 const unsigned char *tweak,
1060 int lrw_encrypt(const unsigned char *pt,
1065 int lrw_decrypt(const unsigned char *ct,
1082 int lrw_setiv(const unsigned char *IV,
1105 const unsigned char *IV,
1106 const unsigned char *key,
1108 const unsigned char *salt_key,
1120 int f8_encrypt(const unsigned char *pt,
1125 int f8_decrypt(const unsigned char *ct,
1140 int f8_setiv(const unsigned char *IV,
1179 const unsigned char *key,
1181 const unsigned char *nonce,
1183 const unsigned char *header,
1199 const unsigned char *pt,
1204 const unsigned char *ct,
1223 const unsigned char *header,
1306 const unsigned char *key, unsigned long keylen,
1307 const unsigned char *nonce, unsigned long noncelen,
1308 const unsigned char *header, unsigned long headerlen,
1309 const unsigned char *pt, unsigned long ptlen,
1315 const unsigned char *key, unsigned long keylen,
1316 const unsigned char *nonce, unsigned long noncelen,
1317 const unsigned char *header, unsigned long headerlen,
1318 const unsigned char *ct, unsigned long ctlen,
1340 const unsigned char *key,
1342 const unsigned char *nonce);
1355 const unsigned char *pt,
1359 const unsigned char *ct,
1375 const unsigned char *pt,
1394 const unsigned char *ct,
1397 const unsigned char *tag,
1413 const unsigned char *key, unsigned long keylen,
1414 const unsigned char *nonce,
1415 const unsigned char *pt, unsigned long ptlen,
1427 const unsigned char *key, unsigned long keylen,
1428 const unsigned char *nonce,
1429 const unsigned char *ct, unsigned long ctlen,
1431 const unsigned char *tag, unsigned long taglen,
1447 const unsigned char *key, unsigned long keylen,
1449 const unsigned char *nonce, unsigned long noncelen,
1450 const unsigned char *header, unsigned long headerlen,
1556 const unsigned char *key,
1568 const unsigned char *IV,
1585 const unsigned char *adata,
1634 const unsigned char *key,
1636 const unsigned char *IV, unsigned long IVlen,
1637 const unsigned char *adata, unsigned long adatalen,
1656 int send_packet(const unsigned char *pt, unsigned long ptlen,
1657 const unsigned char *iv, unsigned long ivlen,
1658 const unsigned char *aad, unsigned long aadlen,
1761 const unsigned char *in,
1829 const unsigned char *in,
1852 int find_hash_oid(const unsigned long *ID, unsigned long IDlen);
1909 const unsigned char *in,
1922 const char *fname,
1979 int register_hash(const struct _hash_descriptor *hash);
1981 int unregister_hash(const struct _hash_descriptor *hash);
2089 const unsigned char *key,
2098 const unsigned char *in,
2123 const unsigned char *key, unsigned long keylen,
2124 const unsigned char *in, unsigned long inlen,
2135 const char *fname,
2136 const unsigned char *key, unsigned long keylen,
2210 const unsigned char *key,
2221 const unsigned char *in,
2259 const unsigned char *key, unsigned long keylen,
2260 const unsigned char *in, unsigned long inlen,
2272 const unsigned char *key, unsigned long keylen,
2273 const char *filename,
2347 const unsigned char *key,
2358 const unsigned char *in,
2393 const unsigned char *key, unsigned long keylen,
2394 const unsigned char *in, unsigned long inlen,
2406 const unsigned char *key, unsigned long keylen,
2407 const char *filename,
2430 const unsigned char *key,
2438 const unsigned char *in,
2507 const unsigned char *key,
2519 const unsigned char *in,
2544 const unsigned char *key, unsigned long keylen,
2545 const unsigned char *in, unsigned long inlen,
2556 const unsigned char *key, unsigned long keylen,
2557 const char *filename,
2593 const unsigned char *key,
2604 const unsigned char *in,
2630 const unsigned char *key, unsigned long keylen,
2631 const unsigned char *in, unsigned long inlen,
2642 const unsigned char *key, unsigned long keylen,
2643 const char *filename,
2675 int XXX_add_entropy(const unsigned char *in,
2718 int XXX_import(const unsigned char *in,
2805 int (*add_entropy)(const unsigned char *, unsigned long,
2817 int (*import)(const unsigned char *, unsigned long, prng_state *);
2826 int find_prng(const char *name);
2835 int register_prng(const struct _prng_descriptor *prng);
2836 int unregister_prng(const struct _prng_descriptor *prng);
3071 const unsigned char *msg,
3093 const unsigned char *msg,
3117 const unsigned char *msg,
3119 const unsigned char *lparam,
3150 const unsigned char *msg,
3152 const unsigned char *lparam,
3179 const unsigned char *msghash,
3207 const unsigned char *msghash,
3209 const unsigned char *sig,
3285 int rsa_exptmod(const unsigned char *in,
3305 const unsigned char *in,
3309 const unsigned char *lparam,
3327 const unsigned char *in,
3331 const unsigned char *lparam,
3350 const unsigned char *in,
3354 const unsigned char *lparam,
3373 const unsigned char *in,
3377 const unsigned char *lparam,
3397 int rsa_sign_hash(const unsigned char *in,
3423 const unsigned char *in,
3446 int rsa_verify_hash(const unsigned char *sig,
3448 const unsigned char *msghash,
3469 const unsigned char *sig,
3471 const unsigned char *hash,
3587 int rsa_import(const unsigned char *in,
3751 const ltc_ecc_set_type *dp);
3779 int ecc_import(const unsigned char *in,
3791 int ecc_import_ex(const unsigned char *in,
3794 const ltc_ecc_set_type *dp);
3817 int ecc_ansi_x963_import(const unsigned char *in,
3829 int ecc_ansi_x963_import_ex(const unsigned char *in,
3857 int ecc_encrypt_key(const unsigned char *in,
3878 int ecc_decrypt_key(const unsigned char *in,
3911 int ecc_sign_hash(const unsigned char *in,
3927 int ecc_verify_hash(const unsigned char *sig,
3929 const unsigned char *hash,
4077 int dsa_sign_hash(const unsigned char *in,
4095 int dsa_verify_hash(const unsigned char *sig,
4097 const unsigned char *hash,
4115 int dsa_encrypt_key(const unsigned char *in,
4133 int dsa_decrypt_key(const unsigned char *in,
4162 int dsa_import(const unsigned char *in,
4283 int der_decode_sequence(const unsigned char *in,
4325 int der_decode_sequence_multi(const unsigned char *in,
4388 int der_decode_set(const unsigned char *in,
4435 int der_decode_integer(const unsigned char *in,
4452 int der_decode_short_integer(const unsigned char *in,
4467 int der_encode_bit_string(const unsigned char *in,
4472 int der_decode_bit_string(const unsigned char *in,
4488 int der_encode_octet_string(const unsigned char *in,
4493 int der_decode_octet_string(const unsigned char *in,
4513 int der_decode_object_identifier(const unsigned char *in,
4530 int der_encode_ia5_string(const unsigned char *in,
4535 int der_decode_ia5_string(const unsigned char *in,
4540 int der_length_ia5_string(const unsigned char *octets,
4554 int der_encode_printable_string(const unsigned char *in,
4559 int der_decode_printable_string(const unsigned char *in,
4564 int der_length_printable_string(const unsigned char *octets,
4578 int der_encode_utf8_string(const wchar_t *in,
4583 int der_decode_utf8_string(const unsigned char *in,
4588 int der_length_utf8_string(const wchar_t *octets,
4628 int der_decode_utctime(const unsigned char *in,
4651 int der_decode_choice(const unsigned char *in,
4675 int der_decode_sequence_flexi(const unsigned char *in,
4777 int pkcs_5_alg1(const unsigned char *password,
4779 const unsigned char *salt,
4800 int pkcs_5_alg2(const unsigned char *password,
4802 const unsigned char *salt,
4866 int base64_encode(const unsigned char *in,
4875 int base64_decode(const unsigned char *in,
5391 int (*setup)(const unsigned char *key,
5402 int (*ecb_encrypt)(const unsigned char *pt,
5412 int (*ecb_decrypt)(const unsigned char *ct,
5442 int (*accel_ecb_encrypt)(const unsigned char *pt,
5454 int (*accel_ecb_decrypt)(const unsigned char *ct,
5467 int (*accel_cbc_encrypt)(const unsigned char *pt,
5481 int (*accel_cbc_decrypt)(const unsigned char *ct,
5496 int (*accel_ctr_encrypt)(const unsigned char *pt,
5512 int (*accel_lrw_encrypt)(const unsigned char *pt,
5516 const unsigned char *tweak,
5528 int (*accel_lrw_decrypt)(const unsigned char *ct,
5532 const unsigned char *tweak,
5553 const unsigned char *key, unsigned long keylen,
5555 const unsigned char *nonce, unsigned long noncelen,
5556 const unsigned char *header, unsigned long headerlen,
5578 const unsigned char *key, unsigned long keylen,
5579 const unsigned char *IV, unsigned long IVlen,
5580 const unsigned char *adata, unsigned long adatalen,
5596 const unsigned char *key, unsigned long keylen,
5597 const unsigned char *in, unsigned long inlen,
5610 const unsigned char *key, unsigned long keylen,
5611 const unsigned char *in, unsigned long inlen,
5625 const unsigned char *key, unsigned long keylen,
5626 const unsigned char *in, unsigned long inlen,
5794 const unsigned char *in,
5815 int (*hmac_block)(const unsigned char *key,
5817 const unsigned char *in,
5882 int (*add_entropy)(const unsigned char *in,
5924 int (*pimport)(const unsigned char *in,
6081 int (*read_radix)(void *a, const char *str, int radix);
6385 int (*rsa_me)(const unsigned char *in, unsigned long inlen,