equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2004, 2011, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2004, 2012, Oracle and/or its affiliates. All rights reserved. |
3 */ |
3 */ |
4 |
4 |
5 /* crypto/engine/hw_pk11.c */ |
5 /* crypto/engine/hw_pk11.c */ |
6 /* |
6 /* |
7 * This product includes software developed by the OpenSSL Project for |
7 * This product includes software developed by the OpenSSL Project for |
643 |
643 |
644 static const EVP_CIPHER pk11_bf_cbc = |
644 static const EVP_CIPHER pk11_bf_cbc = |
645 { |
645 { |
646 NID_bf_cbc, |
646 NID_bf_cbc, |
647 8, 16, 8, |
647 8, 16, 8, |
648 EVP_CIPH_VARIABLE_LENGTH, |
648 EVP_CIPH_VARIABLE_LENGTH | EVP_CIPH_CBC_MODE, |
649 pk11_cipher_init, |
649 pk11_cipher_init, |
650 pk11_cipher_do_cipher, |
650 pk11_cipher_do_cipher, |
651 pk11_cipher_cleanup, |
651 pk11_cipher_cleanup, |
652 sizeof (PK11_CIPHER_STATE), |
652 sizeof (PK11_CIPHER_STATE), |
653 EVP_CIPHER_set_asn1_iv, |
653 EVP_CIPHER_set_asn1_iv, |