| Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssl/src/include/openssl/cms.h |
| Switch to Source code | Preprocessed file |
| Line | Source | Count |
|---|---|---|
| 1 | - | |
| 2 | - | |
| 3 | - | |
| 4 | - | |
| 5 | - | |
| 6 | - | |
| 7 | typedef struct CMS_ContentInfo_st CMS_ContentInfo; | - |
| 8 | typedef struct CMS_SignerInfo_st CMS_SignerInfo; | - |
| 9 | typedef struct CMS_CertificateChoices CMS_CertificateChoices; | - |
| 10 | typedef struct CMS_RevocationInfoChoice_st CMS_RevocationInfoChoice; | - |
| 11 | typedef struct CMS_RecipientInfo_st CMS_RecipientInfo; | - |
| 12 | typedef struct CMS_ReceiptRequest_st CMS_ReceiptRequest; | - |
| 13 | typedef struct CMS_Receipt_st CMS_Receipt; | - |
| 14 | typedef struct CMS_RecipientEncryptedKey_st CMS_RecipientEncryptedKey; | - |
| 15 | typedef struct CMS_OtherKeyAttribute_st CMS_OtherKeyAttribute; | - |
| 16 | - | |
| 17 | struct stack_st_CMS_SignerInfo; typedef int (*sk_CMS_SignerInfo_compfunc)(const CMS_SignerInfo * const *a, const CMS_SignerInfo *const *b); typedef void (*sk_CMS_SignerInfo_freefunc)(CMS_SignerInfo *a); typedef CMS_SignerInfo * (*sk_CMS_SignerInfo_copyfunc)(const CMS_SignerInfo *a); static inline int sk_CMS_SignerInfo_num(const struct stack_st_CMS_SignerInfo *sk) { return executed 744 times by 1 test: OPENSSL_sk_num((const OPENSSL_STACK *)sk);return OPENSSL_sk_num((const OPENSSL_STACK *)sk);Executed by:
executed 744 times by 1 test: } static inline CMS_SignerInfo *sk_CMS_SignerInfo_value(const struct stack_st_CMS_SignerInfo *sk, int idx) { returnreturn OPENSSL_sk_num((const OPENSSL_STACK *)sk);Executed by:
executed 438 times by 2 tests: (CMS_SignerInfo *)OPENSSL_sk_value((const OPENSSL_STACK *)sk, idx);return (CMS_SignerInfo *)OPENSSL_sk_value((const OPENSSL_STACK *)sk, idx);Executed by:
executed 438 times by 2 tests: } static inline struct stack_st_CMS_SignerInfo *sk_CMS_SignerInfo_new(sk_CMS_SignerInfo_compfunc compare) { returnreturn (CMS_SignerInfo *)OPENSSL_sk_value((const OPENSSL_STACK *)sk, idx);Executed by:
never executed: (struct stack_st_CMS_SignerInfo *)OPENSSL_sk_new((OPENSSL_sk_compfunc)compare);return (struct stack_st_CMS_SignerInfo *)OPENSSL_sk_new((OPENSSL_sk_compfunc)compare);never executed: } static inline struct stack_st_CMS_SignerInfo *sk_CMS_SignerInfo_new_null(void) { returnreturn (struct stack_st_CMS_SignerInfo *)OPENSSL_sk_new((OPENSSL_sk_compfunc)compare);never executed: (struct stack_st_CMS_SignerInfo *)OPENSSL_sk_new_null();return (struct stack_st_CMS_SignerInfo *)OPENSSL_sk_new_null();never executed: } static inline struct stack_st_CMS_SignerInfo *sk_CMS_SignerInfo_new_reserve(sk_CMS_SignerInfo_compfunc compare, int n) { returnreturn (struct stack_st_CMS_SignerInfo *)OPENSSL_sk_new_null();never executed: (struct stack_st_CMS_SignerInfo *)OPENSSL_sk_new_reserve((OPENSSL_sk_compfunc)compare, n);return (struct stack_st_CMS_SignerInfo *)OPENSSL_sk_new_reserve((OPENSSL_sk_compfunc)compare, n);never executed: } static inline int sk_CMS_SignerInfo_reserve(struct stack_st_CMS_SignerInfo *sk, int n) { returnreturn (struct stack_st_CMS_SignerInfo *)OPENSSL_sk_new_reserve((OPENSSL_sk_compfunc)compare, n);never executed: OPENSSL_sk_reserve((OPENSSL_STACK *)sk, n);return OPENSSL_sk_reserve((OPENSSL_STACK *)sk, n);never executed: } static inline void sk_CMS_SignerInfo_free(struct stack_st_CMS_SignerInfo *sk) { OPENSSL_sk_free((OPENSSL_STACK *)sk); }return OPENSSL_sk_reserve((OPENSSL_STACK *)sk, n);never executed: static inline void sk_CMS_SignerInfo_zero(struct stack_st_CMS_SignerInfo *sk) { OPENSSL_sk_zero((OPENSSL_STACK *)sk); }end of blocknever executed: static inline CMS_SignerInfo *sk_CMS_SignerInfo_delete(struct stack_st_CMS_SignerInfo *sk, int i) { returnend of blocknever executed: (CMS_SignerInfo *)OPENSSL_sk_delete((OPENSSL_STACK *)sk, i);return (CMS_SignerInfo *)OPENSSL_sk_delete((OPENSSL_STACK *)sk, i);never executed: } static inline CMS_SignerInfo *sk_CMS_SignerInfo_delete_ptr(struct stack_st_CMS_SignerInfo *sk, CMS_SignerInfo *ptr) { returnreturn (CMS_SignerInfo *)OPENSSL_sk_delete((OPENSSL_STACK *)sk, i);never executed: (CMS_SignerInfo *)OPENSSL_sk_delete_ptr((OPENSSL_STACK *)sk, (const void *)ptr);return (CMS_SignerInfo *)OPENSSL_sk_delete_ptr((OPENSSL_STACK *)sk, (const void *)ptr);never executed: } static inline int sk_CMS_SignerInfo_push(struct stack_st_CMS_SignerInfo *sk, CMS_SignerInfo *ptr) { returnreturn (CMS_SignerInfo *)OPENSSL_sk_delete_ptr((OPENSSL_STACK *)sk, (const void *)ptr);executed 61 times by 1 test: OPENSSL_sk_push((OPENSSL_STACK *)sk, (const void *)ptr);return OPENSSL_sk_push((OPENSSL_STACK *)sk, (const void *)ptr);Executed by:
executed 61 times by 1 test: } static inline int sk_CMS_SignerInfo_unshift(struct stack_st_CMS_SignerInfo *sk, CMS_SignerInfo *ptr) { returnreturn OPENSSL_sk_push((OPENSSL_STACK *)sk, (const void *)ptr);Executed by:
never executed: OPENSSL_sk_unshift((OPENSSL_STACK *)sk, (const void *)ptr);return OPENSSL_sk_unshift((OPENSSL_STACK *)sk, (const void *)ptr);never executed: } static inline CMS_SignerInfo *sk_CMS_SignerInfo_pop(struct stack_st_CMS_SignerInfo *sk) { returnreturn OPENSSL_sk_unshift((OPENSSL_STACK *)sk, (const void *)ptr);never executed: (CMS_SignerInfo *)OPENSSL_sk_pop((OPENSSL_STACK *)sk);return (CMS_SignerInfo *)OPENSSL_sk_pop((OPENSSL_STACK *)sk);never executed: } static inline CMS_SignerInfo *sk_CMS_SignerInfo_shift(struct stack_st_CMS_SignerInfo *sk) { returnreturn (CMS_SignerInfo *)OPENSSL_sk_pop((OPENSSL_STACK *)sk);never executed: (CMS_SignerInfo *)OPENSSL_sk_shift((OPENSSL_STACK *)sk);return (CMS_SignerInfo *)OPENSSL_sk_shift((OPENSSL_STACK *)sk);never executed: } static inline void sk_CMS_SignerInfo_pop_free(struct stack_st_CMS_SignerInfo *sk, sk_CMS_SignerInfo_freefunc freefunc) { OPENSSL_sk_pop_free((OPENSSL_STACK *)sk, (OPENSSL_sk_freefunc)freefunc); }return (CMS_SignerInfo *)OPENSSL_sk_shift((OPENSSL_STACK *)sk);never executed: static inline int sk_CMS_SignerInfo_insert(struct stack_st_CMS_SignerInfo *sk, CMS_SignerInfo *ptr, int idx) { returnend of blocknever executed: OPENSSL_sk_insert((OPENSSL_STACK *)sk, (const void *)ptr, idx);return OPENSSL_sk_insert((OPENSSL_STACK *)sk, (const void *)ptr, idx);never executed: } static inline CMS_SignerInfo *sk_CMS_SignerInfo_set(struct stack_st_CMS_SignerInfo *sk, int idx, CMS_SignerInfo *ptr) { returnreturn OPENSSL_sk_insert((OPENSSL_STACK *)sk, (const void *)ptr, idx);never executed: (CMS_SignerInfo *)OPENSSL_sk_set((OPENSSL_STACK *)sk, idx, (const void *)ptr);return (CMS_SignerInfo *)OPENSSL_sk_set((OPENSSL_STACK *)sk, idx, (const void *)ptr);never executed: } static inline int sk_CMS_SignerInfo_find(struct stack_st_CMS_SignerInfo *sk, CMS_SignerInfo *ptr) { returnreturn (CMS_SignerInfo *)OPENSSL_sk_set((OPENSSL_STACK *)sk, idx, (const void *)ptr);never executed: OPENSSL_sk_find((OPENSSL_STACK *)sk, (const void *)ptr);return OPENSSL_sk_find((OPENSSL_STACK *)sk, (const void *)ptr);never executed: } static inline int sk_CMS_SignerInfo_find_ex(struct stack_st_CMS_SignerInfo *sk, CMS_SignerInfo *ptr) { returnreturn OPENSSL_sk_find((OPENSSL_STACK *)sk, (const void *)ptr);never executed: OPENSSL_sk_find_ex((OPENSSL_STACK *)sk, (const void *)ptr);return OPENSSL_sk_find_ex((OPENSSL_STACK *)sk, (const void *)ptr);never executed: } static inline void sk_CMS_SignerInfo_sort(struct stack_st_CMS_SignerInfo *sk) { OPENSSL_sk_sort((OPENSSL_STACK *)sk); }return OPENSSL_sk_find_ex((OPENSSL_STACK *)sk, (const void *)ptr);never executed: static inline int sk_CMS_SignerInfo_is_sorted(const struct stack_st_CMS_SignerInfo *sk) { returnend of blocknever executed: OPENSSL_sk_is_sorted((const OPENSSL_STACK *)sk);return OPENSSL_sk_is_sorted((const OPENSSL_STACK *)sk);never executed: } static inline struct stack_st_CMS_SignerInfo * sk_CMS_SignerInfo_dup(const struct stack_st_CMS_SignerInfo *sk) { returnreturn OPENSSL_sk_is_sorted((const OPENSSL_STACK *)sk);never executed: (struct stack_st_CMS_SignerInfo *)OPENSSL_sk_dup((const OPENSSL_STACK *)sk);return (struct stack_st_CMS_SignerInfo *)OPENSSL_sk_dup((const OPENSSL_STACK *)sk);never executed: } static inline struct stack_st_CMS_SignerInfo *sk_CMS_SignerInfo_deep_copy(const struct stack_st_CMS_SignerInfo *sk, sk_CMS_SignerInfo_copyfunc copyfunc, sk_CMS_SignerInfo_freefunc freefunc) { returnreturn (struct stack_st_CMS_SignerInfo *)OPENSSL_sk_dup((const OPENSSL_STACK *)sk);never executed: (struct stack_st_CMS_SignerInfo *)OPENSSL_sk_deep_copy((const OPENSSL_STACK *)sk, (OPENSSL_sk_copyfunc)copyfunc, (OPENSSL_sk_freefunc)freefunc);return (struct stack_st_CMS_SignerInfo *)OPENSSL_sk_deep_copy((const OPENSSL_STACK *)sk, (OPENSSL_sk_copyfunc)copyfunc, (OPENSSL_sk_freefunc)freefunc);never executed: } static inline sk_CMS_SignerInfo_compfunc sk_CMS_SignerInfo_set_cmp_func(struct stack_st_CMS_SignerInfo *sk, sk_CMS_SignerInfo_compfunc compare) { returnreturn (struct stack_st_CMS_SignerInfo *)OPENSSL_sk_deep_copy((const OPENSSL_STACK *)sk, (OPENSSL_sk_copyfunc)copyfunc, (OPENSSL_sk_freefunc)freefunc);never executed: (sk_CMS_SignerInfo_compfunc)OPENSSL_sk_set_cmp_func((OPENSSL_STACK *)sk, (OPENSSL_sk_compfunc)compare);return (sk_CMS_SignerInfo_compfunc)OPENSSL_sk_set_cmp_func((OPENSSL_STACK *)sk, (OPENSSL_sk_compfunc)compare);never executed: }return (sk_CMS_SignerInfo_compfunc)OPENSSL_sk_set_cmp_func((OPENSSL_STACK *)sk, (OPENSSL_sk_compfunc)compare); | 0-744 |
| 18 | struct stack_st_CMS_RecipientEncryptedKey; typedef int (*sk_CMS_RecipientEncryptedKey_compfunc)(const CMS_RecipientEncryptedKey * const *a, const CMS_RecipientEncryptedKey *const *b); typedef void (*sk_CMS_RecipientEncryptedKey_freefunc)(CMS_RecipientEncryptedKey *a); typedef CMS_RecipientEncryptedKey * (*sk_CMS_RecipientEncryptedKey_copyfunc)(const CMS_RecipientEncryptedKey *a); static inline int sk_CMS_RecipientEncryptedKey_num(const struct stack_st_CMS_RecipientEncryptedKey *sk) { return executed 20 times by 1 test: OPENSSL_sk_num((const OPENSSL_STACK *)sk);return OPENSSL_sk_num((const OPENSSL_STACK *)sk);Executed by:
executed 20 times by 1 test: } static inline CMS_RecipientEncryptedKey *sk_CMS_RecipientEncryptedKey_value(const struct stack_st_CMS_RecipientEncryptedKey *sk, int idx) { returnreturn OPENSSL_sk_num((const OPENSSL_STACK *)sk);Executed by:
executed 13 times by 1 test: (CMS_RecipientEncryptedKey *)OPENSSL_sk_value((const OPENSSL_STACK *)sk, idx);return (CMS_RecipientEncryptedKey *)OPENSSL_sk_value((const OPENSSL_STACK *)sk, idx);Executed by:
executed 13 times by 1 test: } static inline struct stack_st_CMS_RecipientEncryptedKey *sk_CMS_RecipientEncryptedKey_new(sk_CMS_RecipientEncryptedKey_compfunc compare) { returnreturn (CMS_RecipientEncryptedKey *)OPENSSL_sk_value((const OPENSSL_STACK *)sk, idx);Executed by:
never executed: (struct stack_st_CMS_RecipientEncryptedKey *)OPENSSL_sk_new((OPENSSL_sk_compfunc)compare);return (struct stack_st_CMS_RecipientEncryptedKey *)OPENSSL_sk_new((OPENSSL_sk_compfunc)compare);never executed: } static inline struct stack_st_CMS_RecipientEncryptedKey *sk_CMS_RecipientEncryptedKey_new_null(void) { returnreturn (struct stack_st_CMS_RecipientEncryptedKey *)OPENSSL_sk_new((OPENSSL_sk_compfunc)compare);never executed: (struct stack_st_CMS_RecipientEncryptedKey *)OPENSSL_sk_new_null();return (struct stack_st_CMS_RecipientEncryptedKey *)OPENSSL_sk_new_null();never executed: } static inline struct stack_st_CMS_RecipientEncryptedKey *sk_CMS_RecipientEncryptedKey_new_reserve(sk_CMS_RecipientEncryptedKey_compfunc compare, int n) { returnreturn (struct stack_st_CMS_RecipientEncryptedKey *)OPENSSL_sk_new_null();never executed: (struct stack_st_CMS_RecipientEncryptedKey *)OPENSSL_sk_new_reserve((OPENSSL_sk_compfunc)compare, n);return (struct stack_st_CMS_RecipientEncryptedKey *)OPENSSL_sk_new_reserve((OPENSSL_sk_compfunc)compare, n);never executed: } static inline int sk_CMS_RecipientEncryptedKey_reserve(struct stack_st_CMS_RecipientEncryptedKey *sk, int n) { returnreturn (struct stack_st_CMS_RecipientEncryptedKey *)OPENSSL_sk_new_reserve((OPENSSL_sk_compfunc)compare, n);never executed: OPENSSL_sk_reserve((OPENSSL_STACK *)sk, n);return OPENSSL_sk_reserve((OPENSSL_STACK *)sk, n);never executed: } static inline void sk_CMS_RecipientEncryptedKey_free(struct stack_st_CMS_RecipientEncryptedKey *sk) { OPENSSL_sk_free((OPENSSL_STACK *)sk); }return OPENSSL_sk_reserve((OPENSSL_STACK *)sk, n);never executed: static inline void sk_CMS_RecipientEncryptedKey_zero(struct stack_st_CMS_RecipientEncryptedKey *sk) { OPENSSL_sk_zero((OPENSSL_STACK *)sk); }end of blocknever executed: static inline CMS_RecipientEncryptedKey *sk_CMS_RecipientEncryptedKey_delete(struct stack_st_CMS_RecipientEncryptedKey *sk, int i) { returnend of blocknever executed: (CMS_RecipientEncryptedKey *)OPENSSL_sk_delete((OPENSSL_STACK *)sk, i);return (CMS_RecipientEncryptedKey *)OPENSSL_sk_delete((OPENSSL_STACK *)sk, i);never executed: } static inline CMS_RecipientEncryptedKey *sk_CMS_RecipientEncryptedKey_delete_ptr(struct stack_st_CMS_RecipientEncryptedKey *sk, CMS_RecipientEncryptedKey *ptr) { returnreturn (CMS_RecipientEncryptedKey *)OPENSSL_sk_delete((OPENSSL_STACK *)sk, i);never executed: (CMS_RecipientEncryptedKey *)OPENSSL_sk_delete_ptr((OPENSSL_STACK *)sk, (const void *)ptr);return (CMS_RecipientEncryptedKey *)OPENSSL_sk_delete_ptr((OPENSSL_STACK *)sk, (const void *)ptr);never executed: } static inline int sk_CMS_RecipientEncryptedKey_push(struct stack_st_CMS_RecipientEncryptedKey *sk, CMS_RecipientEncryptedKey *ptr) { returnreturn (CMS_RecipientEncryptedKey *)OPENSSL_sk_delete_ptr((OPENSSL_STACK *)sk, (const void *)ptr);executed 7 times by 1 test: OPENSSL_sk_push((OPENSSL_STACK *)sk, (const void *)ptr);return OPENSSL_sk_push((OPENSSL_STACK *)sk, (const void *)ptr);Executed by:
executed 7 times by 1 test: } static inline int sk_CMS_RecipientEncryptedKey_unshift(struct stack_st_CMS_RecipientEncryptedKey *sk, CMS_RecipientEncryptedKey *ptr) { returnreturn OPENSSL_sk_push((OPENSSL_STACK *)sk, (const void *)ptr);Executed by:
never executed: OPENSSL_sk_unshift((OPENSSL_STACK *)sk, (const void *)ptr);return OPENSSL_sk_unshift((OPENSSL_STACK *)sk, (const void *)ptr);never executed: } static inline CMS_RecipientEncryptedKey *sk_CMS_RecipientEncryptedKey_pop(struct stack_st_CMS_RecipientEncryptedKey *sk) { returnreturn OPENSSL_sk_unshift((OPENSSL_STACK *)sk, (const void *)ptr);never executed: (CMS_RecipientEncryptedKey *)OPENSSL_sk_pop((OPENSSL_STACK *)sk);return (CMS_RecipientEncryptedKey *)OPENSSL_sk_pop((OPENSSL_STACK *)sk);never executed: } static inline CMS_RecipientEncryptedKey *sk_CMS_RecipientEncryptedKey_shift(struct stack_st_CMS_RecipientEncryptedKey *sk) { returnreturn (CMS_RecipientEncryptedKey *)OPENSSL_sk_pop((OPENSSL_STACK *)sk);never executed: (CMS_RecipientEncryptedKey *)OPENSSL_sk_shift((OPENSSL_STACK *)sk);return (CMS_RecipientEncryptedKey *)OPENSSL_sk_shift((OPENSSL_STACK *)sk);never executed: } static inline void sk_CMS_RecipientEncryptedKey_pop_free(struct stack_st_CMS_RecipientEncryptedKey *sk, sk_CMS_RecipientEncryptedKey_freefunc freefunc) { OPENSSL_sk_pop_free((OPENSSL_STACK *)sk, (OPENSSL_sk_freefunc)freefunc); }return (CMS_RecipientEncryptedKey *)OPENSSL_sk_shift((OPENSSL_STACK *)sk);never executed: static inline int sk_CMS_RecipientEncryptedKey_insert(struct stack_st_CMS_RecipientEncryptedKey *sk, CMS_RecipientEncryptedKey *ptr, int idx) { returnend of blocknever executed: OPENSSL_sk_insert((OPENSSL_STACK *)sk, (const void *)ptr, idx);return OPENSSL_sk_insert((OPENSSL_STACK *)sk, (const void *)ptr, idx);never executed: } static inline CMS_RecipientEncryptedKey *sk_CMS_RecipientEncryptedKey_set(struct stack_st_CMS_RecipientEncryptedKey *sk, int idx, CMS_RecipientEncryptedKey *ptr) { returnreturn OPENSSL_sk_insert((OPENSSL_STACK *)sk, (const void *)ptr, idx);never executed: (CMS_RecipientEncryptedKey *)OPENSSL_sk_set((OPENSSL_STACK *)sk, idx, (const void *)ptr);return (CMS_RecipientEncryptedKey *)OPENSSL_sk_set((OPENSSL_STACK *)sk, idx, (const void *)ptr);never executed: } static inline int sk_CMS_RecipientEncryptedKey_find(struct stack_st_CMS_RecipientEncryptedKey *sk, CMS_RecipientEncryptedKey *ptr) { returnreturn (CMS_RecipientEncryptedKey *)OPENSSL_sk_set((OPENSSL_STACK *)sk, idx, (const void *)ptr);never executed: OPENSSL_sk_find((OPENSSL_STACK *)sk, (const void *)ptr);return OPENSSL_sk_find((OPENSSL_STACK *)sk, (const void *)ptr);never executed: } static inline int sk_CMS_RecipientEncryptedKey_find_ex(struct stack_st_CMS_RecipientEncryptedKey *sk, CMS_RecipientEncryptedKey *ptr) { returnreturn OPENSSL_sk_find((OPENSSL_STACK *)sk, (const void *)ptr);never executed: OPENSSL_sk_find_ex((OPENSSL_STACK *)sk, (const void *)ptr);return OPENSSL_sk_find_ex((OPENSSL_STACK *)sk, (const void *)ptr);never executed: } static inline void sk_CMS_RecipientEncryptedKey_sort(struct stack_st_CMS_RecipientEncryptedKey *sk) { OPENSSL_sk_sort((OPENSSL_STACK *)sk); }return OPENSSL_sk_find_ex((OPENSSL_STACK *)sk, (const void *)ptr);never executed: static inline int sk_CMS_RecipientEncryptedKey_is_sorted(const struct stack_st_CMS_RecipientEncryptedKey *sk) { returnend of blocknever executed: OPENSSL_sk_is_sorted((const OPENSSL_STACK *)sk);return OPENSSL_sk_is_sorted((const OPENSSL_STACK *)sk);never executed: } static inline struct stack_st_CMS_RecipientEncryptedKey * sk_CMS_RecipientEncryptedKey_dup(const struct stack_st_CMS_RecipientEncryptedKey *sk) { returnreturn OPENSSL_sk_is_sorted((const OPENSSL_STACK *)sk);never executed: (struct stack_st_CMS_RecipientEncryptedKey *)OPENSSL_sk_dup((const OPENSSL_STACK *)sk);return (struct stack_st_CMS_RecipientEncryptedKey *)OPENSSL_sk_dup((const OPENSSL_STACK *)sk);never executed: } static inline struct stack_st_CMS_RecipientEncryptedKey *sk_CMS_RecipientEncryptedKey_deep_copy(const struct stack_st_CMS_RecipientEncryptedKey *sk, sk_CMS_RecipientEncryptedKey_copyfunc copyfunc, sk_CMS_RecipientEncryptedKey_freefunc freefunc) { returnreturn (struct stack_st_CMS_RecipientEncryptedKey *)OPENSSL_sk_dup((const OPENSSL_STACK *)sk);never executed: (struct stack_st_CMS_RecipientEncryptedKey *)OPENSSL_sk_deep_copy((const OPENSSL_STACK *)sk, (OPENSSL_sk_copyfunc)copyfunc, (OPENSSL_sk_freefunc)freefunc);return (struct stack_st_CMS_RecipientEncryptedKey *)OPENSSL_sk_deep_copy((const OPENSSL_STACK *)sk, (OPENSSL_sk_copyfunc)copyfunc, (OPENSSL_sk_freefunc)freefunc);never executed: } static inline sk_CMS_RecipientEncryptedKey_compfunc sk_CMS_RecipientEncryptedKey_set_cmp_func(struct stack_st_CMS_RecipientEncryptedKey *sk, sk_CMS_RecipientEncryptedKey_compfunc compare) { returnreturn (struct stack_st_CMS_RecipientEncryptedKey *)OPENSSL_sk_deep_copy((const OPENSSL_STACK *)sk, (OPENSSL_sk_copyfunc)copyfunc, (OPENSSL_sk_freefunc)freefunc);never executed: (sk_CMS_RecipientEncryptedKey_compfunc)OPENSSL_sk_set_cmp_func((OPENSSL_STACK *)sk, (OPENSSL_sk_compfunc)compare);return (sk_CMS_RecipientEncryptedKey_compfunc)OPENSSL_sk_set_cmp_func((OPENSSL_STACK *)sk, (OPENSSL_sk_compfunc)compare);never executed: }return (sk_CMS_RecipientEncryptedKey_compfunc)OPENSSL_sk_set_cmp_func((OPENSSL_STACK *)sk, (OPENSSL_sk_compfunc)compare); | 0-20 |
| 19 | struct stack_st_CMS_RecipientInfo; typedef int (*sk_CMS_RecipientInfo_compfunc)(const CMS_RecipientInfo * const *a, const CMS_RecipientInfo *const *b); typedef void (*sk_CMS_RecipientInfo_freefunc)(CMS_RecipientInfo *a); typedef CMS_RecipientInfo * (*sk_CMS_RecipientInfo_copyfunc)(const CMS_RecipientInfo *a); static inline int sk_CMS_RecipientInfo_num(const struct stack_st_CMS_RecipientInfo *sk) { return executed 149 times by 1 test: OPENSSL_sk_num((const OPENSSL_STACK *)sk);return OPENSSL_sk_num((const OPENSSL_STACK *)sk);Executed by:
executed 149 times by 1 test: } static inline CMS_RecipientInfo *sk_CMS_RecipientInfo_value(const struct stack_st_CMS_RecipientInfo *sk, int idx) { returnreturn OPENSSL_sk_num((const OPENSSL_STACK *)sk);Executed by:
executed 107 times by 1 test: (CMS_RecipientInfo *)OPENSSL_sk_value((const OPENSSL_STACK *)sk, idx);return (CMS_RecipientInfo *)OPENSSL_sk_value((const OPENSSL_STACK *)sk, idx);Executed by:
executed 107 times by 1 test: } static inline struct stack_st_CMS_RecipientInfo *sk_CMS_RecipientInfo_new(sk_CMS_RecipientInfo_compfunc compare) { returnreturn (CMS_RecipientInfo *)OPENSSL_sk_value((const OPENSSL_STACK *)sk, idx);Executed by:
never executed: (struct stack_st_CMS_RecipientInfo *)OPENSSL_sk_new((OPENSSL_sk_compfunc)compare);return (struct stack_st_CMS_RecipientInfo *)OPENSSL_sk_new((OPENSSL_sk_compfunc)compare);never executed: } static inline struct stack_st_CMS_RecipientInfo *sk_CMS_RecipientInfo_new_null(void) { returnreturn (struct stack_st_CMS_RecipientInfo *)OPENSSL_sk_new((OPENSSL_sk_compfunc)compare);never executed: (struct stack_st_CMS_RecipientInfo *)OPENSSL_sk_new_null();return (struct stack_st_CMS_RecipientInfo *)OPENSSL_sk_new_null();never executed: } static inline struct stack_st_CMS_RecipientInfo *sk_CMS_RecipientInfo_new_reserve(sk_CMS_RecipientInfo_compfunc compare, int n) { returnreturn (struct stack_st_CMS_RecipientInfo *)OPENSSL_sk_new_null();never executed: (struct stack_st_CMS_RecipientInfo *)OPENSSL_sk_new_reserve((OPENSSL_sk_compfunc)compare, n);return (struct stack_st_CMS_RecipientInfo *)OPENSSL_sk_new_reserve((OPENSSL_sk_compfunc)compare, n);never executed: } static inline int sk_CMS_RecipientInfo_reserve(struct stack_st_CMS_RecipientInfo *sk, int n) { returnreturn (struct stack_st_CMS_RecipientInfo *)OPENSSL_sk_new_reserve((OPENSSL_sk_compfunc)compare, n);never executed: OPENSSL_sk_reserve((OPENSSL_STACK *)sk, n);return OPENSSL_sk_reserve((OPENSSL_STACK *)sk, n);never executed: } static inline void sk_CMS_RecipientInfo_free(struct stack_st_CMS_RecipientInfo *sk) { OPENSSL_sk_free((OPENSSL_STACK *)sk); }return OPENSSL_sk_reserve((OPENSSL_STACK *)sk, n);never executed: static inline void sk_CMS_RecipientInfo_zero(struct stack_st_CMS_RecipientInfo *sk) { OPENSSL_sk_zero((OPENSSL_STACK *)sk); }end of blocknever executed: static inline CMS_RecipientInfo *sk_CMS_RecipientInfo_delete(struct stack_st_CMS_RecipientInfo *sk, int i) { returnend of blocknever executed: (CMS_RecipientInfo *)OPENSSL_sk_delete((OPENSSL_STACK *)sk, i);return (CMS_RecipientInfo *)OPENSSL_sk_delete((OPENSSL_STACK *)sk, i);never executed: } static inline CMS_RecipientInfo *sk_CMS_RecipientInfo_delete_ptr(struct stack_st_CMS_RecipientInfo *sk, CMS_RecipientInfo *ptr) { returnreturn (CMS_RecipientInfo *)OPENSSL_sk_delete((OPENSSL_STACK *)sk, i);never executed: (CMS_RecipientInfo *)OPENSSL_sk_delete_ptr((OPENSSL_STACK *)sk, (const void *)ptr);return (CMS_RecipientInfo *)OPENSSL_sk_delete_ptr((OPENSSL_STACK *)sk, (const void *)ptr);never executed: } static inline int sk_CMS_RecipientInfo_push(struct stack_st_CMS_RecipientInfo *sk, CMS_RecipientInfo *ptr) { returnreturn (CMS_RecipientInfo *)OPENSSL_sk_delete_ptr((OPENSSL_STACK *)sk, (const void *)ptr);executed 39 times by 1 test: OPENSSL_sk_push((OPENSSL_STACK *)sk, (const void *)ptr);return OPENSSL_sk_push((OPENSSL_STACK *)sk, (const void *)ptr);Executed by:
executed 39 times by 1 test: } static inline int sk_CMS_RecipientInfo_unshift(struct stack_st_CMS_RecipientInfo *sk, CMS_RecipientInfo *ptr) { returnreturn OPENSSL_sk_push((OPENSSL_STACK *)sk, (const void *)ptr);Executed by:
never executed: OPENSSL_sk_unshift((OPENSSL_STACK *)sk, (const void *)ptr);return OPENSSL_sk_unshift((OPENSSL_STACK *)sk, (const void *)ptr);never executed: } static inline CMS_RecipientInfo *sk_CMS_RecipientInfo_pop(struct stack_st_CMS_RecipientInfo *sk) { returnreturn OPENSSL_sk_unshift((OPENSSL_STACK *)sk, (const void *)ptr);never executed: (CMS_RecipientInfo *)OPENSSL_sk_pop((OPENSSL_STACK *)sk);return (CMS_RecipientInfo *)OPENSSL_sk_pop((OPENSSL_STACK *)sk);never executed: } static inline CMS_RecipientInfo *sk_CMS_RecipientInfo_shift(struct stack_st_CMS_RecipientInfo *sk) { returnreturn (CMS_RecipientInfo *)OPENSSL_sk_pop((OPENSSL_STACK *)sk);never executed: (CMS_RecipientInfo *)OPENSSL_sk_shift((OPENSSL_STACK *)sk);return (CMS_RecipientInfo *)OPENSSL_sk_shift((OPENSSL_STACK *)sk);never executed: } static inline void sk_CMS_RecipientInfo_pop_free(struct stack_st_CMS_RecipientInfo *sk, sk_CMS_RecipientInfo_freefunc freefunc) { OPENSSL_sk_pop_free((OPENSSL_STACK *)sk, (OPENSSL_sk_freefunc)freefunc); }return (CMS_RecipientInfo *)OPENSSL_sk_shift((OPENSSL_STACK *)sk);never executed: static inline int sk_CMS_RecipientInfo_insert(struct stack_st_CMS_RecipientInfo *sk, CMS_RecipientInfo *ptr, int idx) { returnend of blocknever executed: OPENSSL_sk_insert((OPENSSL_STACK *)sk, (const void *)ptr, idx);return OPENSSL_sk_insert((OPENSSL_STACK *)sk, (const void *)ptr, idx);never executed: } static inline CMS_RecipientInfo *sk_CMS_RecipientInfo_set(struct stack_st_CMS_RecipientInfo *sk, int idx, CMS_RecipientInfo *ptr) { returnreturn OPENSSL_sk_insert((OPENSSL_STACK *)sk, (const void *)ptr, idx);never executed: (CMS_RecipientInfo *)OPENSSL_sk_set((OPENSSL_STACK *)sk, idx, (const void *)ptr);return (CMS_RecipientInfo *)OPENSSL_sk_set((OPENSSL_STACK *)sk, idx, (const void *)ptr);never executed: } static inline int sk_CMS_RecipientInfo_find(struct stack_st_CMS_RecipientInfo *sk, CMS_RecipientInfo *ptr) { returnreturn (CMS_RecipientInfo *)OPENSSL_sk_set((OPENSSL_STACK *)sk, idx, (const void *)ptr);never executed: OPENSSL_sk_find((OPENSSL_STACK *)sk, (const void *)ptr);return OPENSSL_sk_find((OPENSSL_STACK *)sk, (const void *)ptr);never executed: } static inline int sk_CMS_RecipientInfo_find_ex(struct stack_st_CMS_RecipientInfo *sk, CMS_RecipientInfo *ptr) { returnreturn OPENSSL_sk_find((OPENSSL_STACK *)sk, (const void *)ptr);never executed: OPENSSL_sk_find_ex((OPENSSL_STACK *)sk, (const void *)ptr);return OPENSSL_sk_find_ex((OPENSSL_STACK *)sk, (const void *)ptr);never executed: } static inline void sk_CMS_RecipientInfo_sort(struct stack_st_CMS_RecipientInfo *sk) { OPENSSL_sk_sort((OPENSSL_STACK *)sk); }return OPENSSL_sk_find_ex((OPENSSL_STACK *)sk, (const void *)ptr);never executed: static inline int sk_CMS_RecipientInfo_is_sorted(const struct stack_st_CMS_RecipientInfo *sk) { returnend of blocknever executed: OPENSSL_sk_is_sorted((const OPENSSL_STACK *)sk);return OPENSSL_sk_is_sorted((const OPENSSL_STACK *)sk);never executed: } static inline struct stack_st_CMS_RecipientInfo * sk_CMS_RecipientInfo_dup(const struct stack_st_CMS_RecipientInfo *sk) { returnreturn OPENSSL_sk_is_sorted((const OPENSSL_STACK *)sk);never executed: (struct stack_st_CMS_RecipientInfo *)OPENSSL_sk_dup((const OPENSSL_STACK *)sk);return (struct stack_st_CMS_RecipientInfo *)OPENSSL_sk_dup((const OPENSSL_STACK *)sk);never executed: } static inline struct stack_st_CMS_RecipientInfo *sk_CMS_RecipientInfo_deep_copy(const struct stack_st_CMS_RecipientInfo *sk, sk_CMS_RecipientInfo_copyfunc copyfunc, sk_CMS_RecipientInfo_freefunc freefunc) { returnreturn (struct stack_st_CMS_RecipientInfo *)OPENSSL_sk_dup((const OPENSSL_STACK *)sk);never executed: (struct stack_st_CMS_RecipientInfo *)OPENSSL_sk_deep_copy((const OPENSSL_STACK *)sk, (OPENSSL_sk_copyfunc)copyfunc, (OPENSSL_sk_freefunc)freefunc);return (struct stack_st_CMS_RecipientInfo *)OPENSSL_sk_deep_copy((const OPENSSL_STACK *)sk, (OPENSSL_sk_copyfunc)copyfunc, (OPENSSL_sk_freefunc)freefunc);never executed: } static inline sk_CMS_RecipientInfo_compfunc sk_CMS_RecipientInfo_set_cmp_func(struct stack_st_CMS_RecipientInfo *sk, sk_CMS_RecipientInfo_compfunc compare) { returnreturn (struct stack_st_CMS_RecipientInfo *)OPENSSL_sk_deep_copy((const OPENSSL_STACK *)sk, (OPENSSL_sk_copyfunc)copyfunc, (OPENSSL_sk_freefunc)freefunc);never executed: (sk_CMS_RecipientInfo_compfunc)OPENSSL_sk_set_cmp_func((OPENSSL_STACK *)sk, (OPENSSL_sk_compfunc)compare);return (sk_CMS_RecipientInfo_compfunc)OPENSSL_sk_set_cmp_func((OPENSSL_STACK *)sk, (OPENSSL_sk_compfunc)compare);never executed: }return (sk_CMS_RecipientInfo_compfunc)OPENSSL_sk_set_cmp_func((OPENSSL_STACK *)sk, (OPENSSL_sk_compfunc)compare); | 0-149 |
| 20 | struct stack_st_CMS_RevocationInfoChoice; typedef int (*sk_CMS_RevocationInfoChoice_compfunc)(const CMS_RevocationInfoChoice * const *a, const CMS_RevocationInfoChoice *const *b); typedef void (*sk_CMS_RevocationInfoChoice_freefunc)(CMS_RevocationInfoChoice *a); typedef CMS_RevocationInfoChoice * (*sk_CMS_RevocationInfoChoice_copyfunc)(const CMS_RevocationInfoChoice *a); static inline int sk_CMS_RevocationInfoChoice_num(const struct stack_st_CMS_RevocationInfoChoice *sk) { return executed 60 times by 1 test: OPENSSL_sk_num((const OPENSSL_STACK *)sk);return OPENSSL_sk_num((const OPENSSL_STACK *)sk);Executed by:
executed 60 times by 1 test: } static inline CMS_RevocationInfoChoice *sk_CMS_RevocationInfoChoice_value(const struct stack_st_CMS_RevocationInfoChoice *sk, int idx) { returnreturn OPENSSL_sk_num((const OPENSSL_STACK *)sk);Executed by:
never executed: (CMS_RevocationInfoChoice *)OPENSSL_sk_value((const OPENSSL_STACK *)sk, idx);return (CMS_RevocationInfoChoice *)OPENSSL_sk_value((const OPENSSL_STACK *)sk, idx);never executed: } static inline struct stack_st_CMS_RevocationInfoChoice *sk_CMS_RevocationInfoChoice_new(sk_CMS_RevocationInfoChoice_compfunc compare) { returnreturn (CMS_RevocationInfoChoice *)OPENSSL_sk_value((const OPENSSL_STACK *)sk, idx);never executed: (struct stack_st_CMS_RevocationInfoChoice *)OPENSSL_sk_new((OPENSSL_sk_compfunc)compare);return (struct stack_st_CMS_RevocationInfoChoice *)OPENSSL_sk_new((OPENSSL_sk_compfunc)compare);never executed: } static inline struct stack_st_CMS_RevocationInfoChoice *sk_CMS_RevocationInfoChoice_new_null(void) { returnreturn (struct stack_st_CMS_RevocationInfoChoice *)OPENSSL_sk_new((OPENSSL_sk_compfunc)compare);never executed: (struct stack_st_CMS_RevocationInfoChoice *)OPENSSL_sk_new_null();return (struct stack_st_CMS_RevocationInfoChoice *)OPENSSL_sk_new_null();never executed: } static inline struct stack_st_CMS_RevocationInfoChoice *sk_CMS_RevocationInfoChoice_new_reserve(sk_CMS_RevocationInfoChoice_compfunc compare, int n) { returnreturn (struct stack_st_CMS_RevocationInfoChoice *)OPENSSL_sk_new_null();never executed: (struct stack_st_CMS_RevocationInfoChoice *)OPENSSL_sk_new_reserve((OPENSSL_sk_compfunc)compare, n);return (struct stack_st_CMS_RevocationInfoChoice *)OPENSSL_sk_new_reserve((OPENSSL_sk_compfunc)compare, n);never executed: } static inline int sk_CMS_RevocationInfoChoice_reserve(struct stack_st_CMS_RevocationInfoChoice *sk, int n) { returnreturn (struct stack_st_CMS_RevocationInfoChoice *)OPENSSL_sk_new_reserve((OPENSSL_sk_compfunc)compare, n);never executed: OPENSSL_sk_reserve((OPENSSL_STACK *)sk, n);return OPENSSL_sk_reserve((OPENSSL_STACK *)sk, n);never executed: } static inline void sk_CMS_RevocationInfoChoice_free(struct stack_st_CMS_RevocationInfoChoice *sk) { OPENSSL_sk_free((OPENSSL_STACK *)sk); }return OPENSSL_sk_reserve((OPENSSL_STACK *)sk, n);never executed: static inline void sk_CMS_RevocationInfoChoice_zero(struct stack_st_CMS_RevocationInfoChoice *sk) { OPENSSL_sk_zero((OPENSSL_STACK *)sk); }end of blocknever executed: static inline CMS_RevocationInfoChoice *sk_CMS_RevocationInfoChoice_delete(struct stack_st_CMS_RevocationInfoChoice *sk, int i) { returnend of blocknever executed: (CMS_RevocationInfoChoice *)OPENSSL_sk_delete((OPENSSL_STACK *)sk, i);return (CMS_RevocationInfoChoice *)OPENSSL_sk_delete((OPENSSL_STACK *)sk, i);never executed: } static inline CMS_RevocationInfoChoice *sk_CMS_RevocationInfoChoice_delete_ptr(struct stack_st_CMS_RevocationInfoChoice *sk, CMS_RevocationInfoChoice *ptr) { returnreturn (CMS_RevocationInfoChoice *)OPENSSL_sk_delete((OPENSSL_STACK *)sk, i);never executed: (CMS_RevocationInfoChoice *)OPENSSL_sk_delete_ptr((OPENSSL_STACK *)sk, (const void *)ptr);return (CMS_RevocationInfoChoice *)OPENSSL_sk_delete_ptr((OPENSSL_STACK *)sk, (const void *)ptr);never executed: } static inline int sk_CMS_RevocationInfoChoice_push(struct stack_st_CMS_RevocationInfoChoice *sk, CMS_RevocationInfoChoice *ptr) { returnreturn (CMS_RevocationInfoChoice *)OPENSSL_sk_delete_ptr((OPENSSL_STACK *)sk, (const void *)ptr);never executed: OPENSSL_sk_push((OPENSSL_STACK *)sk, (const void *)ptr);return OPENSSL_sk_push((OPENSSL_STACK *)sk, (const void *)ptr);never executed: } static inline int sk_CMS_RevocationInfoChoice_unshift(struct stack_st_CMS_RevocationInfoChoice *sk, CMS_RevocationInfoChoice *ptr) { returnreturn OPENSSL_sk_push((OPENSSL_STACK *)sk, (const void *)ptr);never executed: OPENSSL_sk_unshift((OPENSSL_STACK *)sk, (const void *)ptr);return OPENSSL_sk_unshift((OPENSSL_STACK *)sk, (const void *)ptr);never executed: } static inline CMS_RevocationInfoChoice *sk_CMS_RevocationInfoChoice_pop(struct stack_st_CMS_RevocationInfoChoice *sk) { returnreturn OPENSSL_sk_unshift((OPENSSL_STACK *)sk, (const void *)ptr);never executed: (CMS_RevocationInfoChoice *)OPENSSL_sk_pop((OPENSSL_STACK *)sk);return (CMS_RevocationInfoChoice *)OPENSSL_sk_pop((OPENSSL_STACK *)sk);never executed: } static inline CMS_RevocationInfoChoice *sk_CMS_RevocationInfoChoice_shift(struct stack_st_CMS_RevocationInfoChoice *sk) { returnreturn (CMS_RevocationInfoChoice *)OPENSSL_sk_pop((OPENSSL_STACK *)sk);never executed: (CMS_RevocationInfoChoice *)OPENSSL_sk_shift((OPENSSL_STACK *)sk);return (CMS_RevocationInfoChoice *)OPENSSL_sk_shift((OPENSSL_STACK *)sk);never executed: } static inline void sk_CMS_RevocationInfoChoice_pop_free(struct stack_st_CMS_RevocationInfoChoice *sk, sk_CMS_RevocationInfoChoice_freefunc freefunc) { OPENSSL_sk_pop_free((OPENSSL_STACK *)sk, (OPENSSL_sk_freefunc)freefunc); }return (CMS_RevocationInfoChoice *)OPENSSL_sk_shift((OPENSSL_STACK *)sk);never executed: static inline int sk_CMS_RevocationInfoChoice_insert(struct stack_st_CMS_RevocationInfoChoice *sk, CMS_RevocationInfoChoice *ptr, int idx) { returnend of blocknever executed: OPENSSL_sk_insert((OPENSSL_STACK *)sk, (const void *)ptr, idx);return OPENSSL_sk_insert((OPENSSL_STACK *)sk, (const void *)ptr, idx);never executed: } static inline CMS_RevocationInfoChoice *sk_CMS_RevocationInfoChoice_set(struct stack_st_CMS_RevocationInfoChoice *sk, int idx, CMS_RevocationInfoChoice *ptr) { returnreturn OPENSSL_sk_insert((OPENSSL_STACK *)sk, (const void *)ptr, idx);never executed: (CMS_RevocationInfoChoice *)OPENSSL_sk_set((OPENSSL_STACK *)sk, idx, (const void *)ptr);return (CMS_RevocationInfoChoice *)OPENSSL_sk_set((OPENSSL_STACK *)sk, idx, (const void *)ptr);never executed: } static inline int sk_CMS_RevocationInfoChoice_find(struct stack_st_CMS_RevocationInfoChoice *sk, CMS_RevocationInfoChoice *ptr) { returnreturn (CMS_RevocationInfoChoice *)OPENSSL_sk_set((OPENSSL_STACK *)sk, idx, (const void *)ptr);never executed: OPENSSL_sk_find((OPENSSL_STACK *)sk, (const void *)ptr);return OPENSSL_sk_find((OPENSSL_STACK *)sk, (const void *)ptr);never executed: } static inline int sk_CMS_RevocationInfoChoice_find_ex(struct stack_st_CMS_RevocationInfoChoice *sk, CMS_RevocationInfoChoice *ptr) { returnreturn OPENSSL_sk_find((OPENSSL_STACK *)sk, (const void *)ptr);never executed: OPENSSL_sk_find_ex((OPENSSL_STACK *)sk, (const void *)ptr);return OPENSSL_sk_find_ex((OPENSSL_STACK *)sk, (const void *)ptr);never executed: } static inline void sk_CMS_RevocationInfoChoice_sort(struct stack_st_CMS_RevocationInfoChoice *sk) { OPENSSL_sk_sort((OPENSSL_STACK *)sk); }return OPENSSL_sk_find_ex((OPENSSL_STACK *)sk, (const void *)ptr);never executed: static inline int sk_CMS_RevocationInfoChoice_is_sorted(const struct stack_st_CMS_RevocationInfoChoice *sk) { returnend of blocknever executed: OPENSSL_sk_is_sorted((const OPENSSL_STACK *)sk);return OPENSSL_sk_is_sorted((const OPENSSL_STACK *)sk);never executed: } static inline struct stack_st_CMS_RevocationInfoChoice * sk_CMS_RevocationInfoChoice_dup(const struct stack_st_CMS_RevocationInfoChoice *sk) { returnreturn OPENSSL_sk_is_sorted((const OPENSSL_STACK *)sk);never executed: (struct stack_st_CMS_RevocationInfoChoice *)OPENSSL_sk_dup((const OPENSSL_STACK *)sk);return (struct stack_st_CMS_RevocationInfoChoice *)OPENSSL_sk_dup((const OPENSSL_STACK *)sk);never executed: } static inline struct stack_st_CMS_RevocationInfoChoice *sk_CMS_RevocationInfoChoice_deep_copy(const struct stack_st_CMS_RevocationInfoChoice *sk, sk_CMS_RevocationInfoChoice_copyfunc copyfunc, sk_CMS_RevocationInfoChoice_freefunc freefunc) { returnreturn (struct stack_st_CMS_RevocationInfoChoice *)OPENSSL_sk_dup((const OPENSSL_STACK *)sk);never executed: (struct stack_st_CMS_RevocationInfoChoice *)OPENSSL_sk_deep_copy((const OPENSSL_STACK *)sk, (OPENSSL_sk_copyfunc)copyfunc, (OPENSSL_sk_freefunc)freefunc);return (struct stack_st_CMS_RevocationInfoChoice *)OPENSSL_sk_deep_copy((const OPENSSL_STACK *)sk, (OPENSSL_sk_copyfunc)copyfunc, (OPENSSL_sk_freefunc)freefunc);never executed: } static inline sk_CMS_RevocationInfoChoice_compfunc sk_CMS_RevocationInfoChoice_set_cmp_func(struct stack_st_CMS_RevocationInfoChoice *sk, sk_CMS_RevocationInfoChoice_compfunc compare) { returnreturn (struct stack_st_CMS_RevocationInfoChoice *)OPENSSL_sk_deep_copy((const OPENSSL_STACK *)sk, (OPENSSL_sk_copyfunc)copyfunc, (OPENSSL_sk_freefunc)freefunc);never executed: (sk_CMS_RevocationInfoChoice_compfunc)OPENSSL_sk_set_cmp_func((OPENSSL_STACK *)sk, (OPENSSL_sk_compfunc)compare);return (sk_CMS_RevocationInfoChoice_compfunc)OPENSSL_sk_set_cmp_func((OPENSSL_STACK *)sk, (OPENSSL_sk_compfunc)compare);never executed: }return (sk_CMS_RevocationInfoChoice_compfunc)OPENSSL_sk_set_cmp_func((OPENSSL_STACK *)sk, (OPENSSL_sk_compfunc)compare); | 0-60 |
| 21 | CMS_ContentInfo *CMS_ContentInfo_new(void); void CMS_ContentInfo_free(CMS_ContentInfo *a); CMS_ContentInfo *d2i_CMS_ContentInfo(CMS_ContentInfo **a, const unsigned char **in, long len); int i2d_CMS_ContentInfo(CMS_ContentInfo *a, unsigned char **out); extern const ASN1_ITEM CMS_ContentInfo_it; | - |
| 22 | CMS_ReceiptRequest *CMS_ReceiptRequest_new(void); void CMS_ReceiptRequest_free(CMS_ReceiptRequest *a); CMS_ReceiptRequest *d2i_CMS_ReceiptRequest(CMS_ReceiptRequest **a, const unsigned char **in, long len); int i2d_CMS_ReceiptRequest(CMS_ReceiptRequest *a, unsigned char **out); extern const ASN1_ITEM CMS_ReceiptRequest_it; | - |
| 23 | int CMS_ContentInfo_print_ctx(BIO *out, CMS_ContentInfo *x, int indent, const ASN1_PCTX *pctx); | - |
| 24 | const ASN1_OBJECT *CMS_get0_type(const CMS_ContentInfo *cms); | - |
| 25 | - | |
| 26 | BIO *CMS_dataInit(CMS_ContentInfo *cms, BIO *icont); | - |
| 27 | int CMS_dataFinal(CMS_ContentInfo *cms, BIO *bio); | - |
| 28 | - | |
| 29 | ASN1_OCTET_STRING **CMS_get0_content(CMS_ContentInfo *cms); | - |
| 30 | int CMS_is_detached(CMS_ContentInfo *cms); | - |
| 31 | int CMS_set_detached(CMS_ContentInfo *cms, int detached); | - |
| 32 | - | |
| 33 | - | |
| 34 | - | |
| 35 | - | |
| 36 | int CMS_stream(unsigned char ***boundary, CMS_ContentInfo *cms); | - |
| 37 | CMS_ContentInfo *d2i_CMS_bio(BIO *bp, CMS_ContentInfo **cms); | - |
| 38 | int i2d_CMS_bio(BIO *bp, CMS_ContentInfo *cms); | - |
| 39 | - | |
| 40 | BIO *BIO_new_CMS(BIO *out, CMS_ContentInfo *cms); | - |
| 41 | int i2d_CMS_bio_stream(BIO *out, CMS_ContentInfo *cms, BIO *in, int flags); | - |
| 42 | int PEM_write_bio_CMS_stream(BIO *out, CMS_ContentInfo *cms, BIO *in, | - |
| 43 | int flags); | - |
| 44 | CMS_ContentInfo *SMIME_read_CMS(BIO *bio, BIO **bcont); | - |
| 45 | int SMIME_write_CMS(BIO *bio, CMS_ContentInfo *cms, BIO *data, int flags); | - |
| 46 | - | |
| 47 | int CMS_final(CMS_ContentInfo *cms, BIO *data, BIO *dcont, | - |
| 48 | unsigned int flags); | - |
| 49 | - | |
| 50 | CMS_ContentInfo *CMS_sign(X509 *signcert, EVP_PKEY *pkey, | - |
| 51 | struct stack_st_X509 *certs, BIO *data, | - |
| 52 | unsigned int flags); | - |
| 53 | - | |
| 54 | CMS_ContentInfo *CMS_sign_receipt(CMS_SignerInfo *si, | - |
| 55 | X509 *signcert, EVP_PKEY *pkey, | - |
| 56 | struct stack_st_X509 *certs, unsigned int flags); | - |
| 57 | - | |
| 58 | int CMS_data(CMS_ContentInfo *cms, BIO *out, unsigned int flags); | - |
| 59 | CMS_ContentInfo *CMS_data_create(BIO *in, unsigned int flags); | - |
| 60 | - | |
| 61 | int CMS_digest_verify(CMS_ContentInfo *cms, BIO *dcont, BIO *out, | - |
| 62 | unsigned int flags); | - |
| 63 | CMS_ContentInfo *CMS_digest_create(BIO *in, const EVP_MD *md, | - |
| 64 | unsigned int flags); | - |
| 65 | - | |
| 66 | int CMS_EncryptedData_decrypt(CMS_ContentInfo *cms, | - |
| 67 | const unsigned char *key, size_t keylen, | - |
| 68 | BIO *dcont, BIO *out, unsigned int flags); | - |
| 69 | - | |
| 70 | CMS_ContentInfo *CMS_EncryptedData_encrypt(BIO *in, const EVP_CIPHER *cipher, | - |
| 71 | const unsigned char *key, | - |
| 72 | size_t keylen, unsigned int flags); | - |
| 73 | - | |
| 74 | int CMS_EncryptedData_set1_key(CMS_ContentInfo *cms, const EVP_CIPHER *ciph, | - |
| 75 | const unsigned char *key, size_t keylen); | - |
| 76 | - | |
| 77 | int CMS_verify(CMS_ContentInfo *cms, struct stack_st_X509 *certs, | - |
| 78 | X509_STORE *store, BIO *dcont, BIO *out, unsigned int flags); | - |
| 79 | - | |
| 80 | int CMS_verify_receipt(CMS_ContentInfo *rcms, CMS_ContentInfo *ocms, | - |
| 81 | struct stack_st_X509 *certs, | - |
| 82 | X509_STORE *store, unsigned int flags); | - |
| 83 | - | |
| 84 | struct stack_st_X509 *CMS_get0_signers(CMS_ContentInfo *cms); | - |
| 85 | - | |
| 86 | CMS_ContentInfo *CMS_encrypt(struct stack_st_X509 *certs, BIO *in, | - |
| 87 | const EVP_CIPHER *cipher, unsigned int flags); | - |
| 88 | - | |
| 89 | int CMS_decrypt(CMS_ContentInfo *cms, EVP_PKEY *pkey, X509 *cert, | - |
| 90 | BIO *dcont, BIO *out, unsigned int flags); | - |
| 91 | - | |
| 92 | int CMS_decrypt_set1_pkey(CMS_ContentInfo *cms, EVP_PKEY *pk, X509 *cert); | - |
| 93 | int CMS_decrypt_set1_key(CMS_ContentInfo *cms, | - |
| 94 | unsigned char *key, size_t keylen, | - |
| 95 | const unsigned char *id, size_t idlen); | - |
| 96 | int CMS_decrypt_set1_password(CMS_ContentInfo *cms, | - |
| 97 | unsigned char *pass, ssize_t passlen); | - |
| 98 | - | |
| 99 | struct stack_st_CMS_RecipientInfo *CMS_get0_RecipientInfos(CMS_ContentInfo *cms); | - |
| 100 | int CMS_RecipientInfo_type(CMS_RecipientInfo *ri); | - |
| 101 | EVP_PKEY_CTX *CMS_RecipientInfo_get0_pkey_ctx(CMS_RecipientInfo *ri); | - |
| 102 | CMS_ContentInfo *CMS_EnvelopedData_create(const EVP_CIPHER *cipher); | - |
| 103 | CMS_RecipientInfo *CMS_add1_recipient_cert(CMS_ContentInfo *cms, | - |
| 104 | X509 *recip, unsigned int flags); | - |
| 105 | int CMS_RecipientInfo_set0_pkey(CMS_RecipientInfo *ri, EVP_PKEY *pkey); | - |
| 106 | int CMS_RecipientInfo_ktri_cert_cmp(CMS_RecipientInfo *ri, X509 *cert); | - |
| 107 | int CMS_RecipientInfo_ktri_get0_algs(CMS_RecipientInfo *ri, | - |
| 108 | EVP_PKEY **pk, X509 **recip, | - |
| 109 | X509_ALGOR **palg); | - |
| 110 | int CMS_RecipientInfo_ktri_get0_signer_id(CMS_RecipientInfo *ri, | - |
| 111 | ASN1_OCTET_STRING **keyid, | - |
| 112 | X509_NAME **issuer, | - |
| 113 | ASN1_INTEGER **sno); | - |
| 114 | - | |
| 115 | CMS_RecipientInfo *CMS_add0_recipient_key(CMS_ContentInfo *cms, int nid, | - |
| 116 | unsigned char *key, size_t keylen, | - |
| 117 | unsigned char *id, size_t idlen, | - |
| 118 | ASN1_GENERALIZEDTIME *date, | - |
| 119 | ASN1_OBJECT *otherTypeId, | - |
| 120 | ASN1_TYPE *otherType); | - |
| 121 | - | |
| 122 | int CMS_RecipientInfo_kekri_get0_id(CMS_RecipientInfo *ri, | - |
| 123 | X509_ALGOR **palg, | - |
| 124 | ASN1_OCTET_STRING **pid, | - |
| 125 | ASN1_GENERALIZEDTIME **pdate, | - |
| 126 | ASN1_OBJECT **potherid, | - |
| 127 | ASN1_TYPE **pothertype); | - |
| 128 | - | |
| 129 | int CMS_RecipientInfo_set0_key(CMS_RecipientInfo *ri, | - |
| 130 | unsigned char *key, size_t keylen); | - |
| 131 | - | |
| 132 | int CMS_RecipientInfo_kekri_id_cmp(CMS_RecipientInfo *ri, | - |
| 133 | const unsigned char *id, size_t idlen); | - |
| 134 | - | |
| 135 | int CMS_RecipientInfo_set0_password(CMS_RecipientInfo *ri, | - |
| 136 | unsigned char *pass, | - |
| 137 | ssize_t passlen); | - |
| 138 | - | |
| 139 | CMS_RecipientInfo *CMS_add0_recipient_password(CMS_ContentInfo *cms, | - |
| 140 | int iter, int wrap_nid, | - |
| 141 | int pbe_nid, | - |
| 142 | unsigned char *pass, | - |
| 143 | ssize_t passlen, | - |
| 144 | const EVP_CIPHER *kekciph); | - |
| 145 | - | |
| 146 | int CMS_RecipientInfo_decrypt(CMS_ContentInfo *cms, CMS_RecipientInfo *ri); | - |
| 147 | int CMS_RecipientInfo_encrypt(CMS_ContentInfo *cms, CMS_RecipientInfo *ri); | - |
| 148 | - | |
| 149 | int CMS_uncompress(CMS_ContentInfo *cms, BIO *dcont, BIO *out, | - |
| 150 | unsigned int flags); | - |
| 151 | CMS_ContentInfo *CMS_compress(BIO *in, int comp_nid, unsigned int flags); | - |
| 152 | - | |
| 153 | int CMS_set1_eContentType(CMS_ContentInfo *cms, const ASN1_OBJECT *oid); | - |
| 154 | const ASN1_OBJECT *CMS_get0_eContentType(CMS_ContentInfo *cms); | - |
| 155 | - | |
| 156 | CMS_CertificateChoices *CMS_add0_CertificateChoices(CMS_ContentInfo *cms); | - |
| 157 | int CMS_add0_cert(CMS_ContentInfo *cms, X509 *cert); | - |
| 158 | int CMS_add1_cert(CMS_ContentInfo *cms, X509 *cert); | - |
| 159 | struct stack_st_X509 *CMS_get1_certs(CMS_ContentInfo *cms); | - |
| 160 | - | |
| 161 | CMS_RevocationInfoChoice *CMS_add0_RevocationInfoChoice(CMS_ContentInfo *cms); | - |
| 162 | int CMS_add0_crl(CMS_ContentInfo *cms, X509_CRL *crl); | - |
| 163 | int CMS_add1_crl(CMS_ContentInfo *cms, X509_CRL *crl); | - |
| 164 | struct stack_st_X509_CRL *CMS_get1_crls(CMS_ContentInfo *cms); | - |
| 165 | - | |
| 166 | int CMS_SignedData_init(CMS_ContentInfo *cms); | - |
| 167 | CMS_SignerInfo *CMS_add1_signer(CMS_ContentInfo *cms, | - |
| 168 | X509 *signer, EVP_PKEY *pk, const EVP_MD *md, | - |
| 169 | unsigned int flags); | - |
| 170 | EVP_PKEY_CTX *CMS_SignerInfo_get0_pkey_ctx(CMS_SignerInfo *si); | - |
| 171 | EVP_MD_CTX *CMS_SignerInfo_get0_md_ctx(CMS_SignerInfo *si); | - |
| 172 | struct stack_st_CMS_SignerInfo *CMS_get0_SignerInfos(CMS_ContentInfo *cms); | - |
| 173 | - | |
| 174 | void CMS_SignerInfo_set1_signer_cert(CMS_SignerInfo *si, X509 *signer); | - |
| 175 | int CMS_SignerInfo_get0_signer_id(CMS_SignerInfo *si, | - |
| 176 | ASN1_OCTET_STRING **keyid, | - |
| 177 | X509_NAME **issuer, ASN1_INTEGER **sno); | - |
| 178 | int CMS_SignerInfo_cert_cmp(CMS_SignerInfo *si, X509 *cert); | - |
| 179 | int CMS_set1_signers_certs(CMS_ContentInfo *cms, struct stack_st_X509 *certs, | - |
| 180 | unsigned int flags); | - |
| 181 | void CMS_SignerInfo_get0_algs(CMS_SignerInfo *si, EVP_PKEY **pk, | - |
| 182 | X509 **signer, X509_ALGOR **pdig, | - |
| 183 | X509_ALGOR **psig); | - |
| 184 | ASN1_OCTET_STRING *CMS_SignerInfo_get0_signature(CMS_SignerInfo *si); | - |
| 185 | int CMS_SignerInfo_sign(CMS_SignerInfo *si); | - |
| 186 | int CMS_SignerInfo_verify(CMS_SignerInfo *si); | - |
| 187 | int CMS_SignerInfo_verify_content(CMS_SignerInfo *si, BIO *chain); | - |
| 188 | - | |
| 189 | int CMS_add_smimecap(CMS_SignerInfo *si, struct stack_st_X509_ALGOR *algs); | - |
| 190 | int CMS_add_simple_smimecap(struct stack_st_X509_ALGOR **algs, | - |
| 191 | int algnid, int keysize); | - |
| 192 | int CMS_add_standard_smimecap(struct stack_st_X509_ALGOR **smcap); | - |
| 193 | - | |
| 194 | int CMS_signed_get_attr_count(const CMS_SignerInfo *si); | - |
| 195 | int CMS_signed_get_attr_by_NID(const CMS_SignerInfo *si, int nid, | - |
| 196 | int lastpos); | - |
| 197 | int CMS_signed_get_attr_by_OBJ(const CMS_SignerInfo *si, const ASN1_OBJECT *obj, | - |
| 198 | int lastpos); | - |
| 199 | X509_ATTRIBUTE *CMS_signed_get_attr(const CMS_SignerInfo *si, int loc); | - |
| 200 | X509_ATTRIBUTE *CMS_signed_delete_attr(CMS_SignerInfo *si, int loc); | - |
| 201 | int CMS_signed_add1_attr(CMS_SignerInfo *si, X509_ATTRIBUTE *attr); | - |
| 202 | int CMS_signed_add1_attr_by_OBJ(CMS_SignerInfo *si, | - |
| 203 | const ASN1_OBJECT *obj, int type, | - |
| 204 | const void *bytes, int len); | - |
| 205 | int CMS_signed_add1_attr_by_NID(CMS_SignerInfo *si, | - |
| 206 | int nid, int type, | - |
| 207 | const void *bytes, int len); | - |
| 208 | int CMS_signed_add1_attr_by_txt(CMS_SignerInfo *si, | - |
| 209 | const char *attrname, int type, | - |
| 210 | const void *bytes, int len); | - |
| 211 | void *CMS_signed_get0_data_by_OBJ(CMS_SignerInfo *si, const ASN1_OBJECT *oid, | - |
| 212 | int lastpos, int type); | - |
| 213 | - | |
| 214 | int CMS_unsigned_get_attr_count(const CMS_SignerInfo *si); | - |
| 215 | int CMS_unsigned_get_attr_by_NID(const CMS_SignerInfo *si, int nid, | - |
| 216 | int lastpos); | - |
| 217 | int CMS_unsigned_get_attr_by_OBJ(const CMS_SignerInfo *si, | - |
| 218 | const ASN1_OBJECT *obj, int lastpos); | - |
| 219 | X509_ATTRIBUTE *CMS_unsigned_get_attr(const CMS_SignerInfo *si, int loc); | - |
| 220 | X509_ATTRIBUTE *CMS_unsigned_delete_attr(CMS_SignerInfo *si, int loc); | - |
| 221 | int CMS_unsigned_add1_attr(CMS_SignerInfo *si, X509_ATTRIBUTE *attr); | - |
| 222 | int CMS_unsigned_add1_attr_by_OBJ(CMS_SignerInfo *si, | - |
| 223 | const ASN1_OBJECT *obj, int type, | - |
| 224 | const void *bytes, int len); | - |
| 225 | int CMS_unsigned_add1_attr_by_NID(CMS_SignerInfo *si, | - |
| 226 | int nid, int type, | - |
| 227 | const void *bytes, int len); | - |
| 228 | int CMS_unsigned_add1_attr_by_txt(CMS_SignerInfo *si, | - |
| 229 | const char *attrname, int type, | - |
| 230 | const void *bytes, int len); | - |
| 231 | void *CMS_unsigned_get0_data_by_OBJ(CMS_SignerInfo *si, ASN1_OBJECT *oid, | - |
| 232 | int lastpos, int type); | - |
| 233 | - | |
| 234 | - | |
| 235 | - | |
| 236 | int CMS_get1_ReceiptRequest(CMS_SignerInfo *si, CMS_ReceiptRequest **prr); | - |
| 237 | CMS_ReceiptRequest *CMS_ReceiptRequest_create0(unsigned char *id, int idlen, | - |
| 238 | int allorfirst, | - |
| 239 | struct stack_st_GENERAL_NAMES | - |
| 240 | *receiptList, struct stack_st_GENERAL_NAMES | - |
| 241 | *receiptsTo); | - |
| 242 | int CMS_add1_ReceiptRequest(CMS_SignerInfo *si, CMS_ReceiptRequest *rr); | - |
| 243 | void CMS_ReceiptRequest_get0_values(CMS_ReceiptRequest *rr, | - |
| 244 | ASN1_STRING **pcid, | - |
| 245 | int *pallorfirst, | - |
| 246 | struct stack_st_GENERAL_NAMES **plist, | - |
| 247 | struct stack_st_GENERAL_NAMES **prto); | - |
| 248 | - | |
| 249 | int CMS_RecipientInfo_kari_get0_alg(CMS_RecipientInfo *ri, | - |
| 250 | X509_ALGOR **palg, | - |
| 251 | ASN1_OCTET_STRING **pukm); | - |
| 252 | struct stack_st_CMS_RecipientEncryptedKey | - |
| 253 | *CMS_RecipientInfo_kari_get0_reks(CMS_RecipientInfo *ri); | - |
| 254 | - | |
| 255 | int CMS_RecipientInfo_kari_get0_orig_id(CMS_RecipientInfo *ri, | - |
| 256 | X509_ALGOR **pubalg, | - |
| 257 | ASN1_BIT_STRING **pubkey, | - |
| 258 | ASN1_OCTET_STRING **keyid, | - |
| 259 | X509_NAME **issuer, | - |
| 260 | ASN1_INTEGER **sno); | - |
| 261 | - | |
| 262 | int CMS_RecipientInfo_kari_orig_id_cmp(CMS_RecipientInfo *ri, X509 *cert); | - |
| 263 | - | |
| 264 | int CMS_RecipientEncryptedKey_get0_id(CMS_RecipientEncryptedKey *rek, | - |
| 265 | ASN1_OCTET_STRING **keyid, | - |
| 266 | ASN1_GENERALIZEDTIME **tm, | - |
| 267 | CMS_OtherKeyAttribute **other, | - |
| 268 | X509_NAME **issuer, ASN1_INTEGER **sno); | - |
| 269 | int CMS_RecipientEncryptedKey_cert_cmp(CMS_RecipientEncryptedKey *rek, | - |
| 270 | X509 *cert); | - |
| 271 | int CMS_RecipientInfo_kari_set0_pkey(CMS_RecipientInfo *ri, EVP_PKEY *pk); | - |
| 272 | EVP_CIPHER_CTX *CMS_RecipientInfo_kari_get0_ctx(CMS_RecipientInfo *ri); | - |
| 273 | int CMS_RecipientInfo_kari_decrypt(CMS_ContentInfo *cms, | - |
| 274 | CMS_RecipientInfo *ri, | - |
| 275 | CMS_RecipientEncryptedKey *rek); | - |
| 276 | - | |
| 277 | int CMS_SharedInfo_encode(unsigned char **pder, X509_ALGOR *kekalg, | - |
| 278 | ASN1_OCTET_STRING *ukm, int keylen); | - |
| Switch to Source code | Preprocessed file |