Home | History | Annotate | Download | only in pkcs5

Lines Matching defs:md

36    hash_state    *md;
50 md = XMALLOC(sizeof(hash_state));
52 if (md == NULL || buf == NULL) {
53 if (md != NULL) {
54 XFREE(md);
63 if ((err = hash_descriptor[hash_idx].init(md)) != CRYPT_OK) {
66 if ((err = hash_descriptor[hash_idx].process(md, password, password_len)) != CRYPT_OK) {
69 if ((err = hash_descriptor[hash_idx].process(md, salt, 8)) != CRYPT_OK) {
72 if ((err = hash_descriptor[hash_idx].done(md, buf)) != CRYPT_OK) {
93 zeromem(md, sizeof(hash_state));
97 XFREE(md);