Displaying 2 results from an estimated 2 matches for "ssh_evp".
Did you mean:
ssh_err
2008 Apr 21
3
FIPS 140-2 OpenSSL(2007) patches
...quot;misc.h"
+#include "fips.h"
#include "umac.h"
@@ -54,15 +55,16 @@
int truncatebits; /* truncate digest if != 0 */
int key_len; /* just for UMAC */
int len; /* just for UMAC */
+ int fips_allowed;
} macs[] = {
- { "hmac-sha1", SSH_EVP, EVP_sha1, 0, -1, -1 },
- { "hmac-sha1-96", SSH_EVP, EVP_sha1, 96, -1, -1 },
- { "hmac-md5", SSH_EVP, EVP_md5, 0, -1, -1 },
- { "hmac-md5-96", SSH_EVP, EVP_md5, 96, -1, -1 },
- { "hmac-ripemd160", SSH_EVP, EVP_ripemd160, 0, -1, -1 },
- { "hmac-ripem...
2013 Jun 09
1
[PATCH] fix mac_computer
...m_buf;
u_char b[4], nonce[8];
- if (mac->mac_len > sizeof(m))
+ if (mac->mac_len > EVP_MAX_MD_SIZE)
fatal("mac_compute: mac too long %u %lu",
- mac->mac_len, (u_long)sizeof(m));
+ mac->mac_len, (u_long)EVP_MAX_MD_SIZE);
switch (mac->type) {
case SSH_EVP: