(self, context, info)
| 65 | yield self._gen_hit(context, info, key_size) |
| 66 | |
| 67 | def _lib_crypto(self, context, info): |
| 68 | try: |
| 69 | signature = context.node.apply_signature("bits", randfunc=None, domain=None) |
| 70 | except TypeError: |
| 71 | return |
| 72 | |
| 73 | key_size = signature.args[0] |
| 74 | if isinstance(key_size, Number): |
| 75 | key_size = key_size.value |
| 76 | elif not type(key_size) == int: |
| 77 | return |
| 78 | |
| 79 | yield self._gen_hit(context, info, key_size) |
| 80 | |
| 81 | def _gen_hit(self, context, info, key_size=None): |
| 82 | hit = Detection( |
nothing calls this directly
no test coverage detected