Lines Matching refs:cx

351 RC4_DestroyContext(RC4Context *cx, PRBool freeit)
355 (vector->p_RC4_DestroyContext)(cx, freeit);
359 RC4_Encrypt(RC4Context *cx, unsigned char *output, unsigned int *outputLen,
365 return (vector->p_RC4_Encrypt)(cx, output, outputLen, maxOutputLen, input,
370 RC4_Decrypt(RC4Context *cx, unsigned char *output, unsigned int *outputLen,
376 return (vector->p_RC4_Decrypt)(cx, output, outputLen, maxOutputLen, input,
390 RC2_DestroyContext(RC2Context *cx, PRBool freeit)
394 (vector->p_RC2_DestroyContext)(cx, freeit);
398 RC2_Encrypt(RC2Context *cx, unsigned char *output, unsigned int *outputLen,
404 return (vector->p_RC2_Encrypt)(cx, output, outputLen, maxOutputLen, input,
409 RC2_Decrypt(RC2Context *cx, unsigned char *output, unsigned int *outputLen,
415 return (vector->p_RC2_Decrypt)(cx, output, outputLen, maxOutputLen, input,
429 RC5_DestroyContext(RC5Context *cx, PRBool freeit)
433 (vector->p_RC5_DestroyContext)(cx, freeit);
437 RC5_Encrypt(RC5Context *cx, unsigned char *output, unsigned int *outputLen,
443 return (vector->p_RC5_Encrypt)(cx, output, outputLen, maxOutputLen, input,
448 RC5_Decrypt(RC5Context *cx, unsigned char *output, unsigned int *outputLen,
454 return (vector->p_RC5_Decrypt)(cx, output, outputLen, maxOutputLen, input,
468 DES_DestroyContext(DESContext *cx, PRBool freeit)
472 (vector->p_DES_DestroyContext)(cx, freeit);
476 DES_Encrypt(DESContext *cx, unsigned char *output, unsigned int *outputLen,
482 return (vector->p_DES_Encrypt)(cx, output, outputLen, maxOutputLen, input,
487 DES_Decrypt(DESContext *cx, unsigned char *output, unsigned int *outputLen,
493 return (vector->p_DES_Decrypt)(cx, output, outputLen, maxOutputLen, input,
506 SEED_DestroyContext(SEEDContext *cx, PRBool freeit)
510 (vector->p_SEED_DestroyContext)(cx, freeit);
514 SEED_Encrypt(SEEDContext *cx, unsigned char *output, unsigned int *outputLen,
520 return (vector->p_SEED_Encrypt)(cx, output, outputLen, maxOutputLen, input,
525 SEED_Decrypt(SEEDContext *cx, unsigned char *output, unsigned int *outputLen,
531 return (vector->p_SEED_Decrypt)(cx, output, outputLen, maxOutputLen, input,
547 AES_DestroyContext(AESContext *cx, PRBool freeit)
551 (vector->p_AES_DestroyContext)(cx, freeit);
555 AES_Encrypt(AESContext *cx, unsigned char *output,
561 return (vector->p_AES_Encrypt)(cx, output, outputLen, maxOutputLen,
566 AES_Decrypt(AESContext *cx, unsigned char *output,
572 return (vector->p_AES_Decrypt)(cx, output, outputLen, maxOutputLen,
601 MD5_DestroyContext(MD5Context *cx, PRBool freeit)
605 (vector->p_MD5_DestroyContext)(cx, freeit);
609 MD5_Begin(MD5Context *cx)
613 (vector->p_MD5_Begin)(cx);
617 MD5_Update(MD5Context *cx, const unsigned char *input, unsigned int inputLen)
621 (vector->p_MD5_Update)(cx, input, inputLen);
625 MD5_End(MD5Context *cx, unsigned char *digest,
630 (vector->p_MD5_End)(cx, digest, digestLen, maxDigestLen);
634 MD5_FlattenSize(MD5Context *cx)
638 return (vector->p_MD5_FlattenSize)(cx);
642 MD5_Flatten(MD5Context *cx,unsigned char *space)
646 return (vector->p_MD5_Flatten)(cx, space);
658 MD5_TraceState(MD5Context *cx)
662 (vector->p_MD5_TraceState)(cx);
682 MD2_DestroyContext(MD2Context *cx, PRBool freeit)
686 (vector->p_MD2_DestroyContext)(cx, freeit);
690 MD2_Begin(MD2Context *cx)
694 (vector->p_MD2_Begin)(cx);
698 MD2_Update(MD2Context *cx, const unsigned char *input, unsigned int inputLen)
702 (vector->p_MD2_Update)(cx, input, inputLen);
706 MD2_End(MD2Context *cx, unsigned char *digest,
711 (vector->p_MD2_End)(cx, digest, digestLen, maxDigestLen);
715 MD2_FlattenSize(MD2Context *cx)
719 return (vector->p_MD2_FlattenSize)(cx);
723 MD2_Flatten(MD2Context *cx,unsigned char *space)
727 return (vector->p_MD2_Flatten)(cx, space);
764 SHA1_DestroyContext(SHA1Context *cx, PRBool freeit)
768 (vector->p_SHA1_DestroyContext)(cx, freeit);
772 SHA1_Begin(SHA1Context *cx)
776 (vector->p_SHA1_Begin)(cx);
780 SHA1_Update(SHA1Context *cx, const unsigned char *input,
785 (vector->p_SHA1_Update)(cx, input, inputLen);
789 SHA1_End(SHA1Context *cx, unsigned char *digest,
794 (vector->p_SHA1_End)(cx, digest, digestLen, maxDigestLen);
798 SHA1_TraceState(SHA1Context *cx)
802 (vector->p_SHA1_TraceState)(cx);
806 SHA1_FlattenSize(SHA1Context *cx)
810 return (vector->p_SHA1_FlattenSize)(cx);
814 SHA1_Flatten(SHA1Context *cx,unsigned char *space)
818 return (vector->p_SHA1_Flatten)(cx, space);
961 SHA256_DestroyContext(SHA256Context *cx, PRBool freeit)
965 (vector->p_SHA256_DestroyContext)(cx, freeit);
969 SHA256_Begin(SHA256Context *cx)
973 (vector->p_SHA256_Begin)(cx);
977 SHA256_Update(SHA256Context *cx, const unsigned char *input,
982 (vector->p_SHA256_Update)(cx, input, inputLen);
986 SHA256_End(SHA256Context *cx, unsigned char *digest,
991 (vector->p_SHA256_End)(cx, digest, digestLen, maxDigestLen);
995 SHA256_TraceState(SHA256Context *cx)
999 (vector->p_SHA256_TraceState)(cx);
1003 SHA256_FlattenSize(SHA256Context *cx)
1007 return (vector->p_SHA256_FlattenSize)(cx);
1011 SHA256_Flatten(SHA256Context *cx,unsigned char *space)
1015 return (vector->p_SHA256_Flatten)(cx, space);
1051 SHA512_DestroyContext(SHA512Context *cx, PRBool freeit)
1055 (vector->p_SHA512_DestroyContext)(cx, freeit);
1059 SHA512_Begin(SHA512Context *cx)
1063 (vector->p_SHA512_Begin)(cx);
1067 SHA512_Update(SHA512Context *cx, const unsigned char *input,
1072 (vector->p_SHA512_Update)(cx, input, inputLen);
1076 SHA512_End(SHA512Context *cx, unsigned char *digest,
1081 (vector->p_SHA512_End)(cx, digest, digestLen, maxDigestLen);
1085 SHA512_TraceState(SHA512Context *cx)
1089 (vector->p_SHA512_TraceState)(cx);
1093 SHA512_FlattenSize(SHA512Context *cx)
1097 return (vector->p_SHA512_FlattenSize)(cx);
1101 SHA512_Flatten(SHA512Context *cx,unsigned char *space)
1105 return (vector->p_SHA512_Flatten)(cx, space);
1142 SHA384_DestroyContext(SHA384Context *cx, PRBool freeit)
1146 (vector->p_SHA384_DestroyContext)(cx, freeit);
1150 SHA384_Begin(SHA384Context *cx)
1154 (vector->p_SHA384_Begin)(cx);
1158 SHA384_Update(SHA384Context *cx, const unsigned char *input,
1163 (vector->p_SHA384_Update)(cx, input, inputLen);
1167 SHA384_End(SHA384Context *cx, unsigned char *digest,
1172 (vector->p_SHA384_End)(cx, digest, digestLen, maxDigestLen);
1176 SHA384_TraceState(SHA384Context *cx)
1180 (vector->p_SHA384_TraceState)(cx);
1184 SHA384_FlattenSize(SHA384Context *cx)
1188 return (vector->p_SHA384_FlattenSize)(cx);
1192 SHA384_Flatten(SHA384Context *cx,unsigned char *space)
1196 return (vector->p_SHA384_Flatten)(cx, space);
1218 AESKeyWrap_DestroyContext(AESKeyWrapContext *cx, PRBool freeit)
1222 vector->p_AESKeyWrap_DestroyContext(cx, freeit);
1226 AESKeyWrap_Encrypt(AESKeyWrapContext *cx, unsigned char *output,
1232 return vector->p_AESKeyWrap_Encrypt(cx, output, outputLen, maxOutputLen,
1236 AESKeyWrap_Decrypt(AESKeyWrapContext *cx, unsigned char *output,
1242 return vector->p_AESKeyWrap_Decrypt(cx, output, outputLen, maxOutputLen,
1376 AES_InitContext(AESContext *cx, const unsigned char *key,
1382 return (vector->p_AES_InitContext)(cx, key, keylen, iv, mode, encrypt,
1387 AESKeyWrap_InitContext(AESKeyWrapContext *cx, const unsigned char *key,
1393 return (vector->p_AESKeyWrap_InitContext)(cx, key, keylen, iv, mode,
1398 DES_InitContext(DESContext *cx, const unsigned char *key,
1404 return (vector->p_DES_InitContext)(cx, key, keylen, iv, mode, encrypt, xtra);
1408 SEED_InitContext(SEEDContext *cx, const unsigned char *key,
1414 return (vector->p_SEED_InitContext)(cx, key, keylen, iv, mode, encrypt, xtra);
1418 RC2_InitContext(RC2Context *cx, const unsigned char *key,
1424 return (vector->p_RC2_InitContext)(cx, key, keylen, iv, mode,
1429 RC4_InitContext(RC4Context *cx, const unsigned char *key,
1435 return (vector->p_RC4_InitContext)(cx, key, keylen, x1, x2, x3, x4);
1505 HMAC_Destroy(HMACContext *cx, PRBool freeit)
1509 (vector->p_HMAC_Destroy)(cx, freeit);
1522 HMAC_Init(HMACContext *cx, const SECHashObject *hashObj,
1527 return (vector->p_HMAC_Init)(cx, hashObj, secret, secret_len, isFIPS);
1531 HMAC_Begin(HMACContext *cx)
1535 (vector->p_HMAC_Begin)(cx);
1539 HMAC_Update(HMACContext *cx, const unsigned char *data, unsigned int data_len)
1543 (vector->p_HMAC_Update)(cx, data, data_len);
1547 HMAC_Finish(HMACContext *cx, unsigned char *result, unsigned int *result_len,
1552 return (vector->p_HMAC_Finish)(cx, result, result_len, max_result_len);
1556 HMAC_Clone(HMACContext *cx)
1560 return (vector->p_HMAC_Clone)(cx);
1593 Camellia_InitContext(CamelliaContext *cx, const unsigned char *key,
1599 return (vector->p_Camellia_InitContext)(cx, key, keylen, iv, mode, encrypt,
1623 Camellia_DestroyContext(CamelliaContext *cx, PRBool freeit)
1627 (vector->p_Camellia_DestroyContext)(cx, freeit);
1631 Camellia_Encrypt(CamelliaContext *cx, unsigned char *output,
1637 return (vector->p_Camellia_Encrypt)(cx, output, outputLen, maxOutputLen,
1642 Camellia_Decrypt(CamelliaContext *cx, unsigned char *output,
1648 return (vector->p_Camellia_Decrypt)(cx, output, outputLen, maxOutputLen,